windows - How can I put the computer to sleep from Command Prompt/Run menu? - Super User:
You will find shutdown.exe to be your friend.
Other handy commands see this post:
Sleep Computer
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Lock Workstation
Rundll32.exe User32.dll,LockWorkStation
Hibernate Computer
rundll32.exe PowrProf.dll,SetSuspendState
Restart Computer
Shutdown.exe -r -t 00
Shutdown Computer
Shutdown.exe -s -t 00
EDIT/UPDATE:"
No comments:
Post a Comment