System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo("cmd.exe"); info.FileName = @"c:\Login.bat"; System.Diagnostics.Process proc = System.Diagnostics.Process.Start(info); proc.WaitForExit();
本文共 317 字,大约阅读时间需要 1 分钟。
System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo("cmd.exe"); info.FileName = @"c:\Login.bat"; System.Diagnostics.Process proc = System.Diagnostics.Process.Start(info); proc.WaitForExit();
转载于:https://www.cnblogs.com/luckystar-67/p/3610780.html