PDA

View Full Version : variable increments



19-01-2000, 11:39 PM
Is is possible to increment variables in a batch file and then use the IF statement to see if they have reached a set value ?

eg - to increase the time delay x times

%Var = 0
:Loop
if %Var = 5 goto Now
Delay 99 seconds
%Var = %Var + 1
goto Loop
:Now
Desired Function