Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory() returns incorrectly?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Directory() returns incorrectly?
Miscellaneous
Thread ID:
00111589
Message ID:
00111589
Views:
49
I have a subdirectories on my machine f:\develop\myWork\temp and ..\data

? directory('f:\develop\myWork\data') returns .T.
? directory('f:\develop\myWork\temp') returns .F. (sometimes .T.)?
? directory('data') returns .T.
? directory('temp') returns .F. (sometimes .T.)?

What gives? I need to know if temp exists, if it doesn't I want to create it on the fly.

Does anyone have a better solution to directory()? I don't trust it.

Robert
Next
Reply
Map
View

Click here to load this message in the networking platform