Hey
I have writen some code that im using to test a uni project. Its just abit of C that accepts some parameters, the parameters are the test data, eg
Code:
./TestProgram test data here
My code works fine, I know want to add a level of repeatability to the application without modifying the code. I have a file, on each line is a new set of parameters
Code:
test data 1
test data 2
test data 3
is there a method in batch scripting to envoke a system call based on each line of a text file, therefore in my exaple, the following commands would be called:-
Code:
./TestProgram test data 1
./TestProgram test data 2
./TestProgram test data 3