@echo off echo start set time=30000 echo %time% for /l %%i in (1,1, %time%) do ( echo %%i% md "x:TestFolder"%%i% ) pause