In the code segment I gave you earlier, I tried it with arguments as a string and then displayed it in a MessageBox. It was formatted without the '\' characters.
Code:
string filename = @"C:\my file"; string arguments = "-i \"" + filename + "\""; MessageBox.Show(arguments);
Leave a comment: