nicolad1988
04-06-2009, 20:34
ciao eccolo: dovrebbe fare un ciclo fino a 10 e poi stampare 10
SET /a a=0
:etichetta_di_ingresso
set /p a+=1
IF %a%==10 GOTO :etichetta_di_uscita
goto :etichetta_di_ingresso
:etichetta_di_uscita
echo %a%
sleep 100
SET /a a=0
:etichetta_di_ingresso
set /p a+=1
IF %a%==10 GOTO :etichetta_di_uscita
goto :etichetta_di_ingresso
:etichetta_di_uscita
echo %a%
sleep 100