Is there any way to create about 150 numbered folders quickly?
Thanks.....
Thanks.....




for %%a in (0 1 2 3 4 5 6 7 8 9) do call $2.bat %%afor %%a in (0 1 2 3 4 5 6 7 8 9) do md %1%%a

Loop, 150
FileCreateDir, %A_Index%
ExitAppfor /l %%i in (1,1,150) do mkdir "C:\Test\%%i"Heres a way with AHK. Just run the script from the directory or location you want the folders to be created.CodeLoop, 150 FileCreateDir, %A_Index% ExitApp
If you want to use a batch file you can use this. Of course change the path as needed.Codefor /l %%i in (1,1,150) do mkdir "C:\Test\%%i"


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%
}
ExitAppOriginal address: https://www.donationcoder.com/forum/index.php?topic=16494.0