Created
October 18, 2019 14:23
-
-
Save Akronae/21ede5a88c730578b5a5a79da58f8e29 to your computer and use it in GitHub Desktop.
Windows delayed sleeping script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set /P delay=" Sleep in (minutes): " | |
set /a delay=delay * 60 | |
timeout /T %delay% & rundll32.exe powrprof.dll,SetSuspendState 0,1,0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment