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".
#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
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!