anyway, a slightly better version of the code (for standby) would be
Code:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0the three numbers at the end (0,1,0) correspond to
Hibernate, - if true sets to hibernate instead of suspend
ForceCritical, - if true, the system does the operation immediatly
DisableWakeEvent - if true, the system disables wake events


Search
Help