I've created a console application that takes multiple parameters. I'm trying to call it from another application I've created, but can't seem to figure out how to pass the parameters because I need to double quote each parameters because some have spaces in them, but I can't do that because it closes the string. I've tried with single quotes and two single quotes, but to no avail. Here's what I have:
string path = @"C:\Development\MGS\MGS\bin\Debug\MGS.exe";
System.Diagnostics.Process.Start(path, "'DeleteStatFiles' '" + mon + "' '" + SessionValues.orig_prov[0] + "'");I've also tried the double quote escape sequence which also didn't work:
System.Diagnostics.Process.S ...
Go to the complete details ...