Home >Common Problem >What is the cmd command that can shut down the computer?

What is the cmd command that can shut down the computer?

王林
王林Original
2021-04-27 14:00:4734722browse

The cmd shutdown command is [shutdown -s]. After executing this command, the computer will shut down after one minute by default. If we want to shut down after a specified time, we can execute the command [shutdown -t seconds -s].

What is the cmd command that can shut down the computer?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

The detailed introduction is as follows:

To achieve shutdown, you need to use the shutdown command. You can enter in cmd shutdown -?

Enter the above command After that, press Enter to execute

and you will see all the available commands included in shutdown

If you search carefully, you will find that the shutdown command is S

What is the cmd command that can shut down the computer?

Let’s directly enter the shutdown -s command to see what will happen.

After execution, the system will give a prompt. By default, the computer will be shut down after one copy. Prove that this is the command we need to shut down

What is the cmd command that can shut down the computer?

If you want to specify a time, you can enter shutdown -t 3600 -s, shutdown after shutting down the computer -t 3600 -s The meaning of the command is to automatically shut down the computer after one hour. 3600 refers to seconds, and 3600 seconds is one hour.

What is the cmd command that can shut down the computer?

If we have set the shutdown after one hour, but find that one hour is not enough, or do not want to shut down

You can enter shutdown -a at this time Cancel shutdown

What is the cmd command that can shut down the computer?

Free learning video sharing:php tutorial

The above is the detailed content of What is the cmd command that can shut down the computer?. 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