Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro Dos Question
Message
From
15/09/1999 12:55:04
 
 
To
15/09/1999 12:38:53
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00265057
Message ID:
00265068
Views:
18
>does anyone know how to check to see if a directory already exisits in FoxPro Dos.
>thanks
>james

To add to what Cetin said, do not add the backslash after the directory name.
IF ADIR( laDir, "C:\TEMP", "D" ) = 1
   WAIT WINDOW 'Directory exists'
ELSE
   WAIT WINDOW 'Directory does not exist'
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform