Here’s a bit of DOS batch-file scripting.

@ECHO OFF
ECHO. FOR loop test
for /L %%N in (0,1,12) do call :test %%N
goto End
 
:test
echo %1
 
goto :eof
:End
Echo.Reached End
pause