While loop

AirozKing Posted messages 5 Status Member -  
 TotoLeHeros -
```batch
@echo off
set /p count="Entrez le nombre d'invites de commande à ouvrir : "
setlocal enabledelayedexpansion
for /L %%i in (1,1,%count%) do (
start cmd.exe
)
endlocal
```

1 answer

TotoLeHeros
 
Hello, this is a gift
http://www.progmatique.fr/article-113-Batch-utilisation-boucles.html
1