Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check if a file exists
Message
From
21/10/2017 06:09:18
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01655128
Message ID:
01655129
Views:
75
>I need to check if a file c:\global\*.doc exists - what is the correct code for this?

adir() > 0 if wildcards are in the search of the directory.
specific files without wildcards with file() [or locfile()]
adir() is NOT influenced by the file being included in a running exe or app, which often is be a benefit, but also sometimes is not
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform