Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if a folder exists?
Message
 
To
14/02/2004 12:56:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00877389
Message ID:
00877425
Views:
11
Tore,
From VFP help:
"DIRECTORY( ) returns .F. for directories with Hidden or System attributes."
That might be the 'flaw' that you remember about the directory() function. I belive your method (adir()) would 'find' a directory even if it was hidden. I also seem to remember that there as a good reason for using adir() instead of directory() but I can't remember if that is the only reason.

Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform