Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro Dos Question
Message
 
To
15/09/1999 13:41:06
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00265057
Message ID:
00265192
Views:
23
>>>does anyone know how to check to see if a directory already exisits in FoxPro Dos.
>>>thanks
>>>james
>>
>>James,
>>
>>Do an ADIR() and check the results.
>>
>>Anything else will provide false positives potentially.
>
>Testing for something like
>lnFiles = ADIR( laFiles, "C:\TEMP\", "D" ) returns 2 files. If I have an temp file with no extension and I attempt a similar test it returns 0.
>
>Am I missing something. How would you get invalid results.

Dan,

I said using ADIR() was the only dependable method of finding out if a dir exists. What are you asking?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform