Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File() command returns false info
Message
 
 
To
22/11/2006 15:31:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01171614
Message ID:
01171922
Views:
6
The help fails to mention that FILE() first looks in the current APP/EXE for the file name (disregarding the path specified).

>from actual text from help file its obvious that it'll only look for in current path if we dont specify full path. see help contents below
>
>"You can include a path with the file name to search for a file in a directory or on a drive other than the current directory or drive.
>
>If you do not include a path with the file name, Visual FoxPro searches in the default directory for the file. If it cannot find the file in the default directory, Visual FoxPro searches along the Visual FoxPro path, which is established with SET PATH. "
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform