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
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
via: windows – Batch script loop – Stack Overflow.
Posted in Batch-Files, Development, Scripting, Software Development | Leave a Comment »