![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
But i have one more question.
How to move the newly created file to a new location after every loop?
![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
Ok, just add this line to the batch file's first three lines and %directory% after each %output%, it should look like this:
@set directory=C:\test\
.
.
.
.
set loop=0
:start
%command% -i %input% -o %directory%1%output%
set /a loop=%loop%+1
if "%loop%"=="100" goto next
goto start
:next
%command% -i %input% -o %directory%2%output%
set /a loop=%loop%+1
if "%loop%"=="200" goto next2
goto next
.
.
.
Make sure that 'test' folder under C:\ is already existing or it will fail to write.