Home  >  Article  >  What is the scheduled shutdown command in win7?

What is the scheduled shutdown command in win7?

藏色散人
藏色散人Original
2020-08-05 09:21:504427browse

The win7 scheduled shutdown command is "shutdown -s -t 3600", where the parameter "3600" represents the number of seconds until shutdown, and running "shutdown -a" can cancel the scheduled shutdown.

What is the scheduled shutdown command in win7?

In Win7, the shutdown method to achieve automatic shutdown is as follows:

Start->Run-> cmd

Run "shutdown -s -t 3600", where "3600" is the number of seconds until shutdown, run "shutdown -a" to cancel the scheduled shutdown!

Detailed introduction:

Open the DOS command window and enter the command "shutdown

/?":

Press Enter, we can find the list Here is a detailed explanation of the shutdown command:

Among them, our commonly used parameters are:

-s: shutdown command. Adding this parameter after shutdown is to implement the shutdown operation. If there are no other parameters, the default is to shut down after 30 seconds;

-r: Restart command. Adding this parameter after shutdown is to restart the computer;

-t: Set the time. This parameter specifies the time for the shutdown operation, in seconds.

-a: Cancel the command. This command is added directly after the shutdown command, and its function is to cancel the operation specified in the shutdown command.

Explanation with examples: For example, the command shutdown -s -t 60:

means shutting down the computer after 60 seconds. After executing this command, the system pops up a shutdown countdown window:

If we want to cancel the shutdown at this time, we can use the command "shutdown

-a".

The above is the detailed content of What is the scheduled shutdown command in win7?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn