Home > Common Problem > body text

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

王林
Release: 2023-01-13 00:35:52
Original
34595 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!