PRB: In Windows NT Visual FoxPro DIR Command Differs (135699)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q135699 SYMPTOMS
In certain cases, the DIRECTORY or DIR command in Visual FoxPro returns a
value different from that returned by the same command, in the same case,
in FoxPro version 2.x for Windows.
One such case is when running Visual FoxPro under Windows NT. The
difference occurs when the default is set to a subdirectory on a remote
share with a network drive/directory combination, and then the default is
changed back to the local drive. Visual FoxPro sees the remote share's root
as the "current" directory of the remote drive, while FoxPro for Windows
sees the directory set by the SET DEFAULT command as the current directory
of the remote drive.
CAUSE
Visual FoxPro relies on the operating system to provide identification of
the "current" directory for each drive. Windows NT does not keep a list of
the current directory for each drive. FoxPro for Windows retains a variable
defining the default directory settings for drives.
WORKAROUND
Developers need to be aware of this behavior and compensate for it in the
design of the application if necessary.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/15/2000 |
---|
Keywords: | KB135699 kbAudDeveloper |
---|
|