How to sleep computer via batch file?

Posted by Saebin on Stack Overflow See other posts from Stack Overflow or by Saebin
Published on 2010-05-26T04:55:59Z Indexed on 2010/05/26 5:01 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

So I want to make a batch file that will sleep my computer after a period of time.

The closest thing I have found is placing it in standby, but seems to work differently then the sleep button on my keyboard (longer bootup, doesn't wake on mouse click). Any ideas? Would it be easier in python or c#?

© Stack Overflow or respective owner

Related posts about batch-file

Related posts about sleep