Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check whether a file exitsts
Message
From
09/07/2016 02:49:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01638153
Message ID:
01638168
Views:
89
>>How do I check whether the file c:\colinfile.xls exists
>
>Got it
>
>If file()

For your information, file() doesn't always respect the folder you specify. If a file with the given name is in your current path, file() may return true, although you specify another folder. Adir() is a much better choice.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform