I need to launch command prompt from my application and set arguments for it.
System.Diagnostics.Process.Start("CMD.exe", "\"C:\Program Files\My Program\program.exe\" \"C:\Program Files\My Program\Program2.exe\"");
The line abowe would be good for me, but he problem is quotes. To have quotes in cmd i need to escape them, but when i escape them, i get escape symbols \ in my command, so it doesnt work.
Anybody has an idea, how to solve this problem?
With quoutes: