Hi All,
I have a batch file that i need to execute every 60 sec until the counter value is equal to 100. Pause does not help me. Some one has to press any key. Instead i want the batch file to wake up every 60 sec, execute some commands, increment the counter then sleep for 60 sec ... until counter =100. How can i do this
@ECHO OFF
SET TIMER=1
:FINISH
DO some commands
SET /a TIMER=TIMER+1
IF %TIMER% LSS 100 GOTO FINISH
IF %TIMER% GTR 100 GOTO EXIT
:EXIT
