cmd for loop range
Syntax
FOR /L %%parameter IN (start,step,end) DO command
Key
start : The first number
step : The amount by which to increment the sequence
end : The last number
command : The command to carry out, including any parameters.
This can be a single command, or if you enclose it
in (brackets), several commands, one per line.
%%parameter : A replaceable parameter:
in a batch file use %%G (on the command line %G)