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();
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();