Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 關機、重開機、待機、休眠命令大全:AutoHotkey 整合快速操作

編輯:Windows 7 系統介紹

常用命令列指令,可整合至 AutoHotkey 熱鍵實現一鍵操作:

rem 立即關機(無提示、無延遲)
shutdown -p

rem 立即重開機
shutdown -r -t 00

rem 進入休眠(若關閉休眠則進待機)
rundll32.exe powrProf.dll,SetSuspendState

rem 關閉休眠功能(混合睡眠將不可用)
powercfg -h off

rem 查看支援的睡眠狀態
powercfg -a

善用指令與熱鍵可大幅提升電源操作效率。

Copyright © Windows教程網 All Rights Reserved