win8命令关机重启
当然,下面的代码也同时适用上面两个方法。
关机:shutdown.exe –s –t 00
重新启动:shutdown.exe –r –t 00
休眠:rundll32.exe PowrProf.dll,SetSuspendState
睡眠:rundll32.exe powrprof.dll,SetSuspendState 0,1,0
锁定:Rundll32.exe User32.dll,LockWorkStation
时间: 2024-10-20 00:15:54