Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dir exist? in FPW26
Message
 
 
To
26/01/2002 22:03:31
Koos Veel
Gamma Research
Aruba
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00611184
Message ID:
00611196
Views:
21
Hi Koos,

I think you can use ADIR() function
DIMENSION laTemp[1]
lcDir = "C:\TEMP"
IF ADIR(laTemp, lcDir, "D") > 0
  * Directory exists
ELSE
  * Directory doesn't exist
ENDIF
>Hello,
>
>I have known it but forgot how to do it: Does anybody know (remember) how to check if a directory exists in FPW2.6 ?
>
>Thanks,
>
>Koos.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform