New
#11
Hello @Frank15,
Please mark this thread asSolved
.
Another solution to hibernate after n seconds: ping -n 20 127.0.0.1 > NUL 2>&1 && shutdown /h /f and changing the -n 20 to whatever time in seconds you want
This is one I found and I have been using it for quite some time. If I'm up late and am using the computer it won't go into "sleep mode" until I stop using the computer for 10 minutes or so.
addictivetips.com
Powershell:
sleep 30 | shutdown /h /f
..Ctrl+C to cancel
CMD:
ping -n 20 127.0.0.1 > NUL 2>&1 && shutdown /h /f
and changing the -n 20 to whatever time in seconds you want
These are hibernating for me, not sleeping, probably because I haven't disabled hibernation
For the benefit of anybody else reading this thread, I posted a solution in Frank's other thread
Sleep shortcut - using NirCmd [post #3] - TenForums
Denis