If you need to set your computer to any state you can use these codes:
Sleep Computer
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
If you need to set your computer to any state you can use these codes:
Sleep Computer
rundll32.exe powrprof.dll,SetSuspendState 0,1,0