Wednesday, January 25, 2012

Simple Shutdown Timer Using Notepad (no programming skills required)

In this tutorial, I will show you how to create your own shutdown timer using only Notepad and 2 lines of text. But first of all, I'm sorry if my English is not really cool, I'm an Indonesian and on the way learning to become more fluently in English :) Ok, let's just begin.

In your desktop, right click and select New -> Text Document. Double click that newly created text document. Notepad window will show off.
Just type:

timeout /NOBREAK /T 10
shutdown /s /t 0


hit Ctrl+s (or file -> save, it's up to you ;), close the notepad window, and then rename that file into "a.bat" (without quote sign). FINISH!

To run your shutdown timer, just click twice at that file. BUT WAIT! Make sure you are ready to shutdown your computer! Close any open applications and save your unsaved documents BEFORE you do this! Ok, now you can double click it. The MS-DOS screen will show you remaining seconds before shutdown. And then off..

This is a short video demonstration of this tutorial:


Note: You can also give other name like b.bat, c.bat, or others, again it's up to you. But make sure the extension is bat. To change number of seconds before shutdown, just change "10" in line "timeout /NOBREAK /T 10" to any value you want. The maximum value is 99999 (approximately one day. One day = 24 hours = 86400 seconds). You can use this tutorial to limit computer usage time (especially if you often forget the time when in front of computer, like I do :)

I hope this tutorial is useful for you :)

from Christopher Henry Priyono
for everyone who needs..

No comments:

Post a Comment

Feel free to comment :)