I just wanted to confirm with you experienced scripters, this one.

If I have a subfolder called TEST, on my C: drive. I now want to create a 
subfolder hereunder, let's call it SCRIPTS, and yet another subfolder under 
this one, called VBS. I did try the following instructions, but it throws an 
error on me, saying the path is not found.

Dim FSO: Set FSO = CreateObject( "Scripting.FileSystemObject" )
Dim Name
Name = "C:\test\Scripts\VBS"
FSO.CreateFolder( Name )

Is it so, that I do have to create each 'level' in this link, on its own? I.E 
first create the SCRIPTS, then create the VBS subfolder. Or, Is there a 
routine/instruction, that will do it for me?


--
I am using the free version of SPAMfighter.
We are a community of 7 million users fighting spam.
SPAMfighter has removed 1571 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message

Reply via email to