for %n = 1 to 100 step 1 do: windows – Batch script loop – Stack Overflow
Posted by jpluimers on 2015/08/26
Thanks Jon for answering this:
for /lis your friend:for /l %x in (1, 1, 100) do echo %xStarts at 1, steps by one, and finishes at 100.
Use two
%s if it’s in a batch filefor /l %%x in (1, 1, 100) do echo %%x
–jeroen






Leave a comment