Counter: Goto-Schleife Batch-Script

@echo off

set /a COUNT=1


:LOOP
echo %COUNT%
set /a COUNT+=1
if %COUNT% lss 10001 goto LOOP


echo.
echo Done