How do you loop in a Windows batch file?
If you want to do something x times, you can do this:
Example (x = 200):
FOR /L %%A IN (1,1,200) DO ( ECHO %%A )
1,1,200 means:
Start = 1 Increment per step = 1 End = 200
Jun 23, 2020 | batch | 0 comments
How do you loop in a Windows batch file?
If you want to do something x times, you can do this:
Example (x = 200):
FOR /L %%A IN (1,1,200) DO ( ECHO %%A )
1,1,200 means:
Start = 1 Increment per step = 1 End = 200
Subscribe now to keep reading and get access to the full archive.
Recent Comments