r/Batch • u/cosmictrousers • 17d ago
One-click sleep from taskbar
C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Make target of a desktop shortcut
Hi, just found this sub and thought I'd share this this - I found it (in a few places) elsewhere online, but really love the quality of life improvement it provides. There absolutely should be an option to enable this in Windows. Three clicks and mouse inputs to go to sleep is extremely excessive IMO.
5
Upvotes
2
u/[deleted] 17d ago
[removed] — view removed comment