Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check, if a Directory exist?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00016354
Message ID:
00016357
Views:
44
>Any one know how to check if a directory exist in VFP5.0. The API of windows 95 must have a function call to do this.
>
>I like to sub-classe the function.
*
* Here is one way

nFileCounter=ADIR(aFileArray,'c:\yourdir','D')

* nFileCounter>0=directory exists
* aFileArray=any array name (local)

Glenn
Glenn
Previous
Reply
Map
View

Click here to load this message in the networking platform