Do you always forget to switch
off your computer before going to bed, or just forget to look at the
clock while you're working? This article will tell you how to get your
computer to shut down at a time specified by you.
Steps
- @echo off
- :W
- if %time%==00:00:00.00 goto :X
- goto :W
- :X
- shutdown.exe /s /f /t 60 /c "Go to bed!!!!!!"
- This constantly checks the time to see if it is midnight and, if it is, it shuts down the computer with the message "Go to bed!!!!"
- Change the "Save as type" box to "All Files"
- Type "timer.bat" into file name and click "Save"
- Double click the file. A blank command prompt screen should appear.
- Leave this window open while you do your work.
-
-
Warnings
- These steps are for Windows 7 users only. This programme may not work on other operating systems.
- Remember to leave the command prompt window open. You can minimize it if you wish.
Comments
Post a Comment