|
CleverCat
|
 |
« on: January 09, 2009, 04:04:01 AM » |
|
Is there any way to create about 150 numbered folders quickly? Thanks..... 
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
rjbull
|
 |
« Reply #1 on: January 09, 2009, 04:27:40 AM » |
|
Here's a quick way of making 100: $1.bat: [ copy or print] for %%a in (0 1 2 3 4 5 6 7 8 9) do call $2.bat %%a $2.bat: Put them both in the same directory, and just run $1.bat. Easy enough to generalise if you want more directories.
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #2 on: January 09, 2009, 05:41:24 AM » |
|
Thanks a million.... 
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
|
CleverCat
|
 |
« Reply #3 on: January 09, 2009, 06:05:20 AM » |
|
Works great - thanks! So if I need say 150?
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
housetier
|
 |
« Reply #4 on: January 09, 2009, 08:15:37 AM » |
|
have 1.bat go from 0 to 15
|
|
|
|
|
Logged
|
|
|
|
|
aCkRiTe
|
 |
« Reply #5 on: January 09, 2009, 09:29:25 AM » |
|
Heres a way with AHK. Just run the script from the directory or location you want the folders to be created. If you want to use a batch file you can use this. Of course change the path as needed.
|
|
|
|
« Last Edit: January 09, 2009, 09:45:11 AM by aCkRiTe »
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #6 on: January 10, 2009, 12:51:19 AM » |
|
have 1.bat go from 0 to 15
That makes 250 with some folders having 4 digits?
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
CleverCat
|
 |
« Reply #7 on: January 10, 2009, 01:00:11 AM » |
|
Heres a way with AHK. Just run the script from the directory or location you want the folders to be created. If you want to use a batch file you can use this. Of course change the path as needed. How do I make each folder have 3 digits i.e, 001 etc. so Windows puts them in correct order?
|
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
aCkRiTe
|
 |
« Reply #8 on: January 10, 2009, 02:23:57 AM » |
|
[ copy or print] Loop, 150 { StringLen, Length, A_Index If Length = 1 FileCreateDir, 00%A_Index% If Length = 2 FileCreateDir, 0%A_Index% If Length = 3 FileCreateDir, %A_Index% } ExitApp
|
|
|
|
|
Logged
|
|
|
|
|
CleverCat
|
 |
« Reply #9 on: January 10, 2009, 06:14:05 AM » |
|
Awesome - works a treat! A big thanks to all for the input! 
|
|
|
|
Logged
|
If you need help - JUST ASK!
|
|
|
|
by66
|
 |
« Reply #10 on: February 03, 2009, 11:58:34 PM » |
|
Try this program, very powerfull Flexible renamer 
|
|
|
|
|
Logged
|
|
|
|
|