loop batch file code example
Example 1: batch script loop
// batch for loop
for /l %%x in (1, 1, 100) do (
echo %%x
copy %%x.txt z:\whatever\etc
)
Example 2: batch script loop
for /l %x in (1, 1, 100) do (
echo %x
copy %x.txt z:\whatever\etc
)