C#调用其它程序
//执行bat文件
System.Diagnostics.Process myProc = new System.Diagnostics.Process();
myProc.StartInfo.FileName = batPath;
myProc.Start();
//调用cmd.exe
System.Diagnostics.Process.Start("cmd.exe", ff);
System.Diagnostics.Process myProc = new System.Diagnostics.Process();
myProc.StartInfo.FileName = batPath;
myProc.Start();
//调用cmd.exe
System.Diagnostics.Process.Start("cmd.exe", ff);