H
Hareth
How do I do a "shutdown -i" from the command prompt.
ive tried this method but it doesnt work
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = "explorer";
proc.StartInfo.Arguments = "shutdown""-i";
proc.Start();
proc.WaitForExit();
ive tried this method but it doesnt work
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = "explorer";
proc.StartInfo.Arguments = "shutdown""-i";
proc.Start();
proc.WaitForExit();