I have a windows console program that I created that I run using the following format.
>myprogram -f filename
where filename is a file that contains input data to my program. My filenames have the following naming convention.
1000.txt
1001.txt
1002.txt
.
.
.
9999.txt
I would like to build a batch file that runs my program with each and every input file.
ie
>myprogram -f 1000.txt
>myprogram -f 1001.txt
>myprogram -f 1002.txt
.
.
.
>myprogram -f 9999.txt
Any help would be greatly appreciated.