Solution:
One. can be resolved by DOS command shutdown
In Win7, the shutdown implements the automatic shutdown method as follows:
Start-to-run->cmd
Run "shutdown-s-T 3600", where "3600" is the number of seconds off the shutdown, run "shutdown-a" to cancel the timer shutdown!
or write a batch file: Shut down a minute before the reminder is about to shut down, you can modify the timing shutdown time.
@echo off
At 22:50 every:m,t,w,th,f,s,su shutdown-s-T 60-c "It's late, it's time to sleep!" "
At 13:50 every:m,t,w,th,f,s,su shutdown-s-T 60-c "It's going to be a power outage. "
At 15:50 every:m,t,w,th,f,s,su shutdown-s-T 60-c "It's going to be a power outage. "
At 9:50 every:m,t,w,th,f,s,su shutdown-s-T 60-c "It's going to be a power outage. "
At 5:50 every:m,t,w,th,f,s,su shutdown-s-T 60-c "It's going to be a power outage. "
Echo is done!
Pause&end
Copy the document above, the file name of the article, timed shutdown. bat
Run as Administrator
Example one: To shut down at 23:00 in the evening you can enter the following command:
At 23:00 Shutdonw-s
Example two: 1 hours after the computer shut down (if you have to leave, but the download is not completed, you can do so)
Shutdown-f-s-t 3600 (3600 units in seconds)
SHUTDOWN-A can terminate the command
The above command parameters can also be used as tools for programming tools to invoke related commands as graphical interfaces.
WIN7 Shutdown Timer/countdown command shutdown