Forum Home
Press F1
 
Thread ID: 3399 2000-01-19 10:39:00 variable increments Guest (0) Press F1
Post ID Timestamp Content User
3825 2000-01-19 10:39:00 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
Guest (0)
1