Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find if directory exist
Message
From
22/04/1998 14:25:13
 
 
To
22/04/1998 10:59:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00094006
Message ID:
00094080
Views:
19
>Usually I use this command to find if a directory exist:
>
>file(a:\windows\nul")
>return true if directory windows exist but since VFP version 5.0a on Window NT this doesn't work.
>
>I want another way to find if directory exist

? ADIR(laDir,'your directory here',"D")

If it returns 1, it exists.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform