执行外部Exe文件【转】

System.Diagnostics.ProcessStartInfo info=new System.Diagnostics.ProcessStartInfo();
Info.FileName=[exe文件名];
Info.Arguments=[执行参数];
Info.WorkingDirectory=Application.StartupPath;//exe所在路径

System.Diagnostics.Process Proc;
Try
{
  Proc=System.Diagnostics.Process.Start(Info);
}
Catch(System.ComponentModel.Win32Exception)
{
 Return;
}
原文地址:https://www.cnblogs.com/myparamita/p/1954836.html