从收集其他收集而来
关闭休眠功能:
@powercfg -h off
重启休眠功能:
@powercfg -h on
休眠
start rundll32.exe powrProf.dll,SetSuspendState
睡眠
start rundll32.exe powrprof.dll,SetSuspendState 0,1,0
参考案例:
使用批处理命令实现一键休眠
从收集其他收集而来
关闭休眠功能:
@powercfg -h off
重启休眠功能:
@powercfg -h on
休眠
start rundll32.exe powrProf.dll,SetSuspendState
睡眠
start rundll32.exe powrprof.dll,SetSuspendState 0,1,0
参考案例:
使用批处理命令实现一键休眠