|Purpose:||Reboot the computer, log off Windows, or shut down|
|Format:||REBOOT [/= /A /B text] /F /H /K /L /M[0|1] /P /R /S /V /W /Y]|
REBOOT will log off or shut down the operating system, or completely restart your computer. It normally performs a warm reboot, or a shutdown and restart under Windows.
REBOOT defaults to performing a warm boot, with no prompting. The following example prompts you to verify the reboot, then does a warm boot:
TCC issues the standard commands to shut down other applications and the Windows before rebooting. Windows may prompt you for additional actions, or even ignore the request altogether depending on which processes are running.
|/=||Display the REBOOT command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.|
|A||Restart applications. Shuts down the system and then restarts it, as well as any applications that have been registered for restart using the Windows RegisterApplicationRestart API.|
|/B text||Block shutdown / reboot. The system will display text in the popup explaining the reason for blocking the shutdown.|
|/F||Force the specified reboot option. This option does not send the WM_QUERYENDSESSION message to applications, so this can cause applications to lose data. This option is only valid when used with the /P, /R, or /S options.|
|/H||Save everything in memory to your hard disk, and shutdown to save power. The desktop is restored to its original state when the computer is restarted.|
|/L||Log off Windows, but do not reboot. This option is equivalent to selecting Shutdown from the Start menu, then selecting "Close all programs and log on as a different user" in the shutdown dialog.|
|/M||Switch the display to low power (M0) or shut off the display (M1 -- will not work on all systems). This option will not reboot the computer unless you also include /R.|
|/R||Reboots the system. This is the default, but is required if you specify /M0 or /M1 and also want to reboot.|
|/S||Shut down the system, but do not reboot. This is equivalent to selecting Shutdown from the Start menu, then selecting "Shut down the computer" in the shutdown dialog.|
|/W||Save power by turning off the monitor and hard disks. When the computer comes out of standby, the desktop is restored to its original state.|
|/Y||Hybrid shutdown - prepare the system for a faster reboot. This option is only valid wihen used with the /P, /R, or /S options.|