cmd shutdown command is "shutdown". Specific method: Open the cmd command window and directly execute the "shutdown -s" command. The system will give a prompt and then automatically shut down after one minute; you can also execute the "shutdown -t 3600 -s" command to automatically shut down after one hour.
The operating environment of this tutorial: Windows 10 system, Dell G3 computer.
The cmd command line is available in every windows system. We can use the shortcut key win R to start cmd:
Use win R to pop up the run window and enter cmd, select OK
After that, cmd will be opened
To achieve shutdown, you need to use the shutdown
command
You can enter shutdown -?
After entering the above command, press Enter to execute
You will see all the available commands included in shutdown
Look carefully and you will find the shutdown command isS
We directly enter shutdown -s
to see what will appear
After execution, the system will give a prompt. By default, it will shut down the computer after one copy.
Prove that this is the command we need to shut down
If you want to specify a time, you can enter shutdown -t 3600 -s
shutdown - The meaning of the t 3600 -s
command is to automatically shut down the computer after one hour.
3600 refers to seconds, and 3600 seconds is one hour.
If we have set the shutdown after one hour, but find that one hour is not enough, or do not want to shut down
, then you can enter shutdown -a to cancel the shutdown
Recommended tutorial: "windows tutorial"
The above is the detailed content of What is the shutdown command of cmd?. For more information, please follow other related articles on the PHP Chinese website!