Windows batch FOR loop on range through command line
You can use the /l tag in your statement to make it loop through a set of numbers.
eg.
C:\> FOR /l %i in (1,1,1000) DO myProg.exe
This says loop through the range, starting at 1, stepping 1 at a time, until 1000
http://ss64.com/nt/for_l.html
for /l %%i in (1,1,100) do echo %%i
add another % sign before i to work