Tuesday, 19 March 2019

Batch File Loop X times

Run a Batch command X times

This will loop 100 times. Start at 1, count in 1's until you get to 100.

for /l %%x in (1, 1, 100) do (
do this
do that
)

No comments:

Post a Comment