Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding file ignoring VFP path
Message
From
06/07/2005 12:24:21
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01029497
Message ID:
01029573
Views:
14
>If you add the fullpath to the file it doesn't use the search path:
>
>
>?FILE("vfp9.exe")               && returns .F.
>
>SET PATH TO HOME()
>
>?FILE("vfp9.exe")               && returns .T.
>?FILE(FULLPATH("")+"vfp9.exe")  && retruns .F.
>
Voila! I was trying FILE('.\myfile') which returned .T. Thank you. I feel much better.
Previous
Reply
Map
View

Click here to load this message in the networking platform