Wednesday, December 29, 2010

Short cute for Shutdown, Reboot, Logoff, Statndby & Hibernate

Standby: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

I saw the word Hibernate at the end of the Hibernate line, and a little intuitive thinking led me to try the same with Standby. It works -

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

So to reiterate the whole list, with the proper standby line:

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 Standby
Hibernate: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

No comments:

Post a Comment

jealousy or revenge

  "When people talk about the shortcomings  of others with the intention to create a bad image of them or to create cleaveges between p...