Page 1 of 1

Help? Elementary computer knowledge lacking!

Posted: Wed Jul 21, 2004 1:24 pm
by WarAdvocat
I want to be able to create (automatically) a file folder containing 100 subfolders, named (and numbered) sequentially.

I'm sure I'm doing it the hard way at the moment, via copy, paste & renumbering by hand.

What I want is a folder that contains folders, say, named "Project # 11200" through "Project 11299" for example.

Is there some way to automate this that even a programming illiterate can figure out?

Posted: Wed Jul 21, 2004 1:51 pm
by CDN_Merlin
batch file. look up the batch file commands on the net and use that.

Should be no more than about 10 lines or so.

Posted: Wed Jul 21, 2004 1:52 pm
by Testiculese
You have mail.

Posted: Wed Jul 21, 2004 2:06 pm
by Jeff250
Save this to a VBS file:

Code: Select all

Set fso = CreateObject ("Scripting.FileSystemObject")
Dim N
For N = 0 To 99
  fso.CreateFolder ("bla" & N)
Next
And modify as needed.

Posted: Wed Jul 21, 2004 2:32 pm
by WarAdvocat
Thanks guys. Appreciate it.