I need an easy way to learn how to set up automatic turn off. I am terminally ill and and only 51 yrs old. Kind of sucks. But I would like sometimes to go to bed and watch something on the computer before falling asleep, but would like to be able possibly have it turn off like after a couple of hours. I'm not looking for precise times just hours.
Can you or will you be to send me the easiest way to do this?
3600 is second, so that's mean, if you execute this bat, your computer will shutdown in 1 hours..
you can make other .bat file for 30 minutes, 1 hour, 2 hours..and save it as
1hour.bat, 2hours.bat, 3hours.bat..
and execute it depend on the time that you want to shutdown your computer...
better to use
shutdown -f -s -t 1000
shutdown - is shutdown command
-f tells it to forceclose programs/apps. otherwise some programs can stop it shutting down
-s tells the program to shutdown pc
-t tells it how long to wait before exicuting command
shutdown /? and it will tell you all the commands
or easier method if you are downloading a steam game etc then install teamviewer then shut it down using phone to connect to pc to shut it down