DonationCoder.com Software > Coding Snacks
Create Multiple Empty Numbered Folders
CleverCat:
Is there any way to create about 150 numbered folders quickly?
Thanks..... :tellme:
rjbull:
Here's a quick way of making 100:
$1.bat:
--- ---for %%a in (0 1 2 3 4 5 6 7 8 9) do call $2.bat %%a
$2.bat:
--- ---for %%a in (0 1 2 3 4 5 6 7 8 9) do md %1%%a
Put them both in the same directory, and just run $1.bat. Easy enough to generalise if you want more directories.
CleverCat:
Thanks a million.... :Thmbsup:
CleverCat:
Works great - thanks! So if I need say 150?
housetier:
have 1.bat go from 0 to 15
Navigation
[0] Message Index
[#] Next page
Go to full version