桌面創建一鍵定時關機圖標:
shutdown -s -t 5
-s
-t 5
常用參數: -r 重啟、-a 取消關機、-f 強制關閉應用、-h 休眠。 建議創建配對「取消關機」快捷方式 (shutdown -a) 防誤操作。
-r
-a
-f
-h
shutdown -a