I wish to do the following, which I am writing in pseudo code.
What I wish to be able to do is to run a program, reading from sequential data files [name%1]. I wish to increment the calculation until the last data file [name%3] is reached. I also will be calling other batch flies to rename or copy the original output.
The range of %1 can be from 1 to 200 [or larger]
I am a newbie, so please excuse me...
The command line is:
batchfile %1 %2 %3
The batch file is:
:start
if %1 is greater than %3 goto end
program1 %1 %2
call prog1 %1 %2
call prog2 %1 %2
increment %1 by one
go to start
:end
exit