Skip to main content

How to Automatically Shut Down Your Computer at a Specified Time

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

  1. Open notepad by going to Start> All Programmes> Accessories> Notepad. Or, you can just type "notepad", without quotes, into the start menu and hit enter.
  2. The code
    Copy the following code:
    • @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!!!!"
  3. Change the if %time%== part to a time of your choice. It must be in this format: HH:MM:SS.MS and in 24 hr format otherwise it won't work.
  4. Go to File> Save As
    • Change the "Save as type" box to "All Files"
    • Type "timer.bat" into file name and click "Save"
  5. Double click the file. A blank command prompt screen should appear.
  6. Leave this window open while you do your work.
  7. When the time you specified in step 3 comes around, your computer should display a message for one minute, then shut down.
    When the time you specified in step 3 comes around, your computer should display a message for one minute, then shut down.
  8. If you wish to abort the shutdown, press the Windows Key (the key with the Microsoft logo on it) + R.
    If you wish to abort the shutdown, press the Windows Key (the key with the Microsoft logo on it) + R.
  9. Type "shutdown -a", without quotes into the window that appears and hit Enter.
    Type "shutdown -a", without quotes into the window that appears and hit Enter. A Command Prompt window should appear, then disappear. A balloon similar to this one should appear.
  

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

Popular posts from this blog

How to Hard Reset NOKIA 1280 | Unlocking Codes NOKIA 1280

This post discuss about couple of methods that you can use to reset your Nokia 1280 phone’s security code. These methods include: key combination short code to reset code full reset through settings method full reset through unlocking code without sim Every Nokia phone comes with default code 12345. If you care about security of your phone or personal information like contacts, photos or anything important that you put on your handset, this code can be essential.So it’s important change default code & uses it for security. But lots of people tend to forget this code because they don’t use it so often. Below are some of the solutions for this problem.

Post or Send Voice Messages and Audio Comments on Facebook

This chrome extension is developed for this purpose so that you can send your voice notes to your friends. Extension is called as Talk and Comment After you install this extension, you need to enable it by clicking the Allow button on top. This will enable the extension to use your Microphone whenever required, as it is required to record the voice.

How to Know if a Cell Phone Battery is Dead

Cell phones use rechargeable lithium ion batteries. This type of battery can recharge 300 to 500 charge cycles to its full capacity before it will not charge fully. If your cell phone needs charging more often or the charge lasts for several hours less than when the battery was new, you may need a replacement battery. Testing the battery to obtain its capacity will tell you if a new battery is needed.