Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HT Determine If Directory Exists
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00189851
Message ID:
00189863
Views:
10
Is there a way to macro substitute for the directory name to be used with DIRECTORY()? For example, I want to check to see if the directory "D:\photoeye\books" exits.

lcName="D:\photoeye\books"

IF DIRECTORY(&lcName)
MKDIR "books"
ENDIF

This doesn't work. What am I missing?

TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform