bat 控制windows休眠

从收集其他收集而来

关闭休眠功能:
@powercfg -h off
重启休眠功能:
@powercfg -h on

休眠
start rundll32.exe powrProf.dll,SetSuspendState
睡眠
start rundll32.exe powrprof.dll,SetSuspendState 0,1,0

发布了48 篇原创文章 · 获赞 36 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/qq_34924407/article/details/89784428