How do I create a bat file to process different files within a directory? The file names are incrementing as below and the command that I need in the bat file should be something like java -jar Test.jar (the incrementing file names) one after the other. I have create one .bat file which looks like this -
java -jar Test.jar TESTDOC1.xml
java -jar Test.jar TESTDOC2.xml
java -jar Test.jar TESTDOC3.xml
pause
But there is a possibility that the count might increase to a huge number.
File Names:
TESTDOC1.xml TESTDOC2.xml TESTDOC3.xml
how do I do it?