ASP.NET 关闭某个进程比如EXCEL.EXE
foreach (System.Diagnostics.Process pro in System.Diagnostics.Process.GetProcessesByName("EXCEL"))
{ pro.Kill(); } |
foreach (System.Diagnostics.Process pro in System.Diagnostics.Process.GetProcessesByName("EXCEL"))
{ pro.Kill(); } |