Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for existing files
Message
 
To
26/04/2000 18:20:40
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00363833
Message ID:
00364106
Views:
83
Charles,

Apparently, VFP searches its own path as well when the directory passed to the FILE() is the root of a drive. This occurs even if the drive does not exist. If the directory is not the root of the drive, it does not. A simple workaround for this problem would be
lcpath = SET('PATH')
SET PATH TO
? FILE(lcfile)
SET PATH TO (lcpath)
This may be something that needs to be reported as either a doc error or a bug. I can't find anything on it in the MS KB.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform