WIN7 Shutdown Timer/countdown command shutdown

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.