How do I loop a batch script only a certain amount of times (x10 or something)? If the code was:
@echo off
:loop1
Start taskmgr.exe
Goto loop
:loop2
Start cmd.exe
goto loop2
How can loop loop1 and few times and go to loop2?
Any helpful answer would be appreciated :)