Power state shortcut commands
Submitted by xmen on Tue, 11/17/2009 - 14:59
Shutdown: %windir%\System32\shutdown.exe -s
Reboot: %windir%\System32\shutdown.exe -r
Logoff: %windir%\System32\shutdown.exe -l
Standby: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
And once upon a time I was looking into VBScripts to do the same thing Windows already has... silly me.
»
- xmen's blog
- Login to post comments
