System.Diagnostics.Process.Start("shutdown", /s /t 0");
是否可以在“/s”之前添加“/f”?与将“-f”添加到“shutdown -t 0 -r”的方式类似。
换句话说,我怎样才能强制关机。
System.Diagnostics.Process.Start("shutdown", /s /t 0");
是否可以在“/s”之前添加“/f”?与将“-f”添加到“shutdown -t 0 -r”的方式类似。
换句话说,我怎样才能强制关机。