Put windows to sleep (and keep it asleep!)

/ Published in: DOS Batch
Save to your folder(s)

This is a fraction of a much larger script which does multiple tasks. This scriptlet is intended to be interactive and somewhat user-friendly. First, it asks if you want to place the computer into sleep mode, then it kills pesky processes associated with interrupting sleep mode, finally, if you want the batch to skip waiting you can press Y to immediately start the sleep sequence or press N to cancel at the last second.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.