shutdown:tldr:d8420
shutdown: Restart the current machine immediately.
$ shutdown /r /t 0
try on your machine
The command "shutdown /r /t 0" is used to restart a Windows computer immediately.
Here is the breakdown of the command:
-
"shutdown": This is the main command to initiate a system shutdown or restart.
-
"/r": This switch specifies that the computer should restart after shutting down. It is used to indicate a restart rather than a complete shutdown of the system.
-
"/t 0": This switch specifies the time delay before the shutdown or restart occurs. In this case, "/t 0" means that there is no delay, and the system will restart immediately.
So, when you execute "shutdown /r /t 0" in command prompt or the Run dialog, the computer will perform an immediate restart.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.