>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only