How to schedule Windows automatically (set timer) shutdown/restart/log off (3 ways - No programs required).
Way 1 : shortcut (0:17)
Way 2 : .bat file (1:28)
Way 3 : c program (1:42)
If you can't convert hours-minutes to seconds, use the following converter :
http://www.calculatorsoup.com/calculators/time/time-to-decimal-calculator.php
The commands you will need :
shutdown.exe -s -t xx (shutdown - xx : seconds)
shutdown.exe -r -t xx (restart - xx : seconds)
shutdown.exe -l -t xx (log off - xx : seconds)
shutdown.exe /a (cancel scheduled command)
...now you can leave your PC open at night and go to sleep ;)
Download the C-program : https://drive.google.com/folderview?id=0B4fPeBZJ1d19NDRncmZsMDM3Yk0&usp=sharing
Way 1 : shortcut (0:17)
Way 2 : .bat file (1:28)
Way 3 : c program (1:42)
If you can't convert hours-minutes to seconds, use the following converter :
http://www.calculatorsoup.com/calculators/time/time-to-decimal-calculator.php
The commands you will need :
shutdown.exe -s -t xx (shutdown - xx : seconds)
shutdown.exe -r -t xx (restart - xx : seconds)
shutdown.exe -l -t xx (log off - xx : seconds)
shutdown.exe /a (cancel scheduled command)
...now you can leave your PC open at night and go to sleep ;)
Download the C-program : https://drive.google.com/folderview?id=0B4fPeBZJ1d19NDRncmZsMDM3Yk0&usp=sharing
No comments:
Post a Comment