<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am running dBase IV in a DOS window under Windows 2000. I need
> access to both the long and short (8.3) filenames in directory listings
> from within dBase.
>
> In a straight DOS Window, the DIR command can be run with all of the
> Win2000 switches, for example DIR /X. This generates listings with
> both long and short filenames.
>
> >From within dBase, attempts to invoke the DOS DIR command using the
> Win2000 switches generates an error. DIR /X fails. Furthermore,
> unlike Win98, a plain vanilla DIR loses the long filenames.
>
> Is there any way around this? Is it possible to use the Win98 command
> interpreter? And if it is, would it make a difference in this
> situation?
>
> Thank you in advance for any assistance.
>
You need to become aware that there is no DOS under
Windows. DOS is an operating system, same as Linux
or Windows. You probably mean the Command Prompt.
If dBase refuses to run dir /x then this is probably because
it uses its own internal interpretation of the "dir" command.
Instead of running "dir", try invoking one of the two command
processors. AFAIR, you can do this under dBase. The
commands would be:
c:\winnt\system32\cmd.exe /k dir c:\ (preferred)
c:\winnt\system32\command.com /d dir c:\ (legacy)
|