Shortcut to Restart Windows?

KB

Diamond Member
Nov 8, 1999
5,406
389
126
A while back someone on the board showed us how to create shortcut to quickly shutting down windows by creating a shortcut to "C:\WIN98\RUNDLL.EXE user.exe,exitwindows".
I was wondering if anyone know a way to create a shortcut to restart windows, maybe in this same way as above.
 

KB

Diamond Member
Nov 8, 1999
5,406
389
126
Thank you for the links and suggestions. Any idea if these will work in NT?
 

Spiff

Senior member
Oct 10, 1999
439
0
0
NT has a command called shutdown

C:\>shutdown /?
Release 2.0 written by A. Blatzheim 1993 at Microsoft GmbH

Usage: SHUTDOWN [/?] [\\Computer] [/L] [/A] [/R] [/T:xx] ["Msg"] [/Y] [/C]

/? Shows this screen.
\\Computer Specifies a remote computer to shutdown.
/L Specifies a local shutdown.
/A Abortes a systemshutdown. This is only possible during the
timeout period.If this switch is used, all other are ignored.
/R Specifies that the machine should reboot after shutdown.
/T:xx Sets the timer for system shutdown in seconds.[20 sec. default]
"Msg" Specifies an additional message
/Y Answer all following questinons with yes
/C Forces running applications to close.

ATTENTION: If you use the /C parameter NT ignores the applications option to save data which may have changed. You will see no File-Save dialog box, because NT will force the application to close. This will result in a loss of all data not previously saved !!!