Thursday, October 8, 2009

Create a windows shortcut for shutdown , restart and hibernate

You can create a shortcut give the shutdown program commands to shutdown / restart or the rundll program to call a WIN API function for hibernation:

Shutdown:
SHUTDOWN -s -t 01

Restart:
SHUTDOWN -r -t 01

Hibernate:
rundll32.exe PowrProf.dll, SetSuspendState

Enjoy :)