@echo off echo If you want to stop the batch, press [CTRL+C] anytime. set /p brd="Board URL? : " set /p from="From where?: " set /p upto="To where? : " set /p step="[for]step? : " echo on for /L %%i in (%from% %step% %upto%) do wget -O%%i.txt %brd% @echo off set brd= set from= set upto= set step=