Home  >  Article  >  What is the cmd command to restart the computer?

What is the cmd command to restart the computer?

藏色散人
藏色散人Original
2021-01-26 09:44:2568125browse

The cmd command to restart the computer is "shutdown -r now", because the Windows system comes with a program called "Shutdown.exe", which can be used for shutdown operations, so under normal circumstances, the shutdown of the Windows system can be This is achieved by calling the program "shutdown.exe".

What is the cmd command to restart the computer?

#The operating environment of this article: Windows 7 system, DELL G3 computer.

Recommended: Programming Video

You can use the shutdown -r now command in cmd to restart the computer.

The Windows system comes with a program called Shutdown.exe, which can be used for shutdown operations (located under Windows\System32). Under normal circumstances, the shutdown of the Windows system can be achieved by calling the program shutdown.exe. , and this program can also be used to terminate a planned shutdown.

Shutdown command:

  • shutdown -a Cancel shutdown

  • shutdown -s Shutdown

  • shutdown -f Forcefully close the application

  • shutdown -m \\computer name control remote computer

  • shutdown -i Displays the "remote shutdown" graphical user interface, but it must be the first parameter of Shutdown

  • ##shutdown -l Logs out the current user

  • shutdown -r Shutdown and restart

  • shutdown -s -t time set shutdown countdown

  • shutdown -h hibernation call.

The above is the detailed content of What is the cmd command to restart 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