Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a folder on the fly
Message
From
15/09/2000 13:09:22
 
 
To
15/09/2000 12:59:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00417017
Message ID:
00417026
Views:
18
>Hi All,
> I want to create a directory/folder on user’s computer if that particular directory does not exist. I can check the existence of the directory by issuing Directory() function , but I don’t know HOW TO CREATE A NEW DIRECTORY if it doesn’t exist.
>

MKDIR seems to work just fine...it expects a character string, not a name, ie:

MKDIR "C:\Foo\Bar\Baz\Mumble\Bletch"
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform