In an information security lab I\'m working on, I\'ve been tasked with executing multiple commands with a single call to \"system()\" (written in C, running on Fedora). Wha
One possibility comes immediately to mind. You could write all the commands to a script then run it with:
system ("cmd.exe /c \"x.cmd\"");
or, now that I've noticed you're running on Fedora:
system ("x.sh");