Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory() does not work
Message
From
22/09/2008 10:00:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Directory() does not work
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349457
Message ID:
01349457
Views:
88
IF !directory("c:\ProgramData")
	MKDIR "c:\ProgramData"
ENDIF 
I receive an error. MKDIR tells me that the directory could'nt be created because there is a sub-directory in it.

Why the directory() function didn't catch it?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform