System.Diagnostics.Process

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,



How can I have more than one argument in this statement?

Adding a second one gets an error.

Process myProcess = Process.Start("ABC.exe", "arg1");
 
Hi,
I'm not certain sure but this should work

Process myProcess = Process.Start("ABC.exe", "-arg1 -arg2 -arg3");
or
Process myProcess = Process.Start("ABC.exe", "/arg1 /arg2 /arg3");

--
Mit freundlichen Gruessen - Regards

Ralph Gerbig
(e-mail address removed)
www.ralphgerbig.de.vu
 
Back
Top