Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make sure directory exists
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00117916
Message ID:
00118071
Views:
22
>How could I check to see if a given directory exist before attempting to create a file there at runtime? (the directory name is stored in a configuration table and it will probably exist most of the times, but...).
>
>Thanx in advance.

In addition to the advice you've already been given, there's a file in the Download section (Win 32 and other APIs) called Winfiles. It will allow you to verify whether or not the file or directory exists (you'll have to check the attributes which are returned), as well as various date and time information.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform