Ok, this is a completely new territory for me. I want to run a couple of perl executables from my program using command line parameters inputed by the user. How would I code the following pseudocode assuming the commands would be run from a Windows command prompt:
Code:
string program1="perlProgram1.pl"; // cstrings are fine too
string program2="perlProgram2.pl";
string program3="perlProgram3.pl";
string param1, param2, param3;
user inputs param1, param2, param3;
runCommandlineProgram(program1+" "+param1);
WAIT, do not continue until program1 is done
runCommandlineProgram(program2+" "+param2);
WAIT, do not continue until program2 is done
runCommandlineProgram(program3+" "+param3);
WAIT, do not continue until program3 is done
Also, what about doing command line commands such as "md" for make directory and such?