返回列表 回復 發帖

windows7定時關機批處理

絕對好用,關機一分鐘前提醒即將關機,可自行修改定時關機時間。

@echo off
at 22:50 every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "很晚了,該睡覺了了!"
at 13:50 every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "要停電了,快存盤吧!"
at 15:50 every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "要停電了,快存盤吧!"
at 9:50 every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "要停電了,快存盤吧!"
at 5:50 every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "要停電了,快存盤吧!"
echo 已經完成!
pause&end

  複製上面為文檔,文件名改文:定時關機.bat

  以管理員身份運行即可
返回列表