Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if a directory exists ?
Message
From
28/10/2008 14:10:33
 
 
To
28/10/2008 14:02:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01357782
Message ID:
01357797
Views:
20
>>how to know if a directory exist ?
>>and how to creat it if not exist ?
>
>
lcDir="w:\somepath\more path\SomeDir"
>if not directory(lcDir)
>    md (lcDir)
>endif
>
Works with FILE() to dunnit, I seem to recall?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform