FOR /L %%I IN (1, 1, 6) DO ( java Model %%I 3360 1 120 in.txt out%%I.txt ) FOR %%A IN (7 8 9 10) DO ( java Model %%A 3360 1 120 in.txt out%%A.txt )