1. shutdown your computer
ex:
shutdown your computer after 7200 seconds:
stop shutdown:
find help
2. set schedule to shutdown pc
2-1 set shutdown s shutdown_s.bat
ex:
shutdown your computer after 7200 seconds:
shutdown -s -f -t 7200
stop shutdown:
shutdown -a
find help
shutdown /?
2. set schedule to shutdown pc
2-1 set shutdown s shutdown_s.bat
shutdown -s2-2 process schedule shutdown_at_0000.bat on the command line
schtasks /create /tn "shutdown_at_0000" /tr "E:\wei_lun\code\bat\shutdown_s.bat" /sc daily /st 00:00 /ed 3002/12/312-3 view your schedule