I have about 7 commands in DOS and I want to run them in my C# program. Can I do:
System.Diagnostics.Process.Start("cmd.exe", "my more commands here");
? EDIT: I'm making small app what will run g++. Is this now correct?:
System.Diagnostics.Process.Start("cmd.exe", "/k cd C:\\Alps\\compiler\\ /k g++ C:\\Alps\\" + project_name + "\\Debug\\Main.cpp");
Command for compiling:
g++ -c C:\Alps\here_is_projectname\Debug\Main.cpp -o main.o