At the risk of looking like a complete idiot

By , 2010-08-05 09:34

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

Leave a Reply

 

Custom theme by me. Based on Panorama by Themocracy