I'm trying to create a looping .cmd file.
my current .cmd file looks like this
(I could have as many as 50 Test(x).csv files.)
It runs the perl script on the identified file in the folder. It works but I would like it to loop through all .csv files named "Test(x)" and run the script so that I don't have to have 50 lines in my .cmd file.
Note: the perl script creates additional .csv files in the folder so the .cmd code would have to know to run on only Test(x).csv files.
Is this possible??
my current .cmd file looks like this
Code:
CALL splitfile.pl Test1.csv
CALL splitfile.pl Test2.csv
CALL splitfile.pl Test3.csv
(I could have as many as 50 Test(x).csv files.)
It runs the perl script on the identified file in the folder. It works but I would like it to loop through all .csv files named "Test(x)" and run the script so that I don't have to have 50 lines in my .cmd file.
Note: the perl script creates additional .csv files in the folder so the .cmd code would have to know to run on only Test(x).csv files.
Is this possible??