|Is it possible to increasement an integer counter in a batch file script? Example:|
if %ERRORLEVEL%==0 goto :Cont
if %Sleep%==3 goto :ErrorOut
Basically, I need to run a SQL Server Stored Procedure until it successfully runs before I want the script to error out. Currently, the result for %SLEEP% will be '0+1' after the code above runs, not 1. Can anyone help?