Help? Elementary computer knowledge lacking!

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
WarAdvocat
DBB Defender
DBB Defender
Posts: 3035
Joined: Sun Jun 23, 2002 2:01 am
Location: Fort Lauderdale, FL USA

Help? Elementary computer knowledge lacking!

Post 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?
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9781
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Post 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.
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

You have mail.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post 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.
User avatar
WarAdvocat
DBB Defender
DBB Defender
Posts: 3035
Joined: Sun Jun 23, 2002 2:01 am
Location: Fort Lauderdale, FL USA

Post by WarAdvocat »

Thanks guys. Appreciate it.
Post Reply