About

Tuesday, April 30, 2013

Make a clock with Notepad





Hi friends,
Welcome you all

Today I will share a notepad tricks with you .
Isn't it very amazing if you can make a clock with notepad ???

Yes now you can do this.....But how ?

Let's start..........

  1. Open notepad..
  2. Now copy the following code and paste it on the notepad...
            @echo off
            Title DOS Based Date and Clock
            color b
            cls
            : Clock
            cls
            echo Current Date: %date%
            echo ............. 
            echo .............
            echo Current Time: %time%
            goto Clock
 
 
     3. Save the file as Clock.bat on anywhere
     4. Now you can see a batch file
     5. At last open the batch file and see the result......
 
 
Customize the Code: You can also customize the code as below- 
  • You can change the Title of the code. Look at the title- Dos Based Date and Clock. You can use any name instead of the blue part. 
  • You can also change the color. Here I've used b for Aqua. You can use- 0 for black, 1 for  blue, 2 for green, thus you can test 3, 4, 5, 6, 7, 8, 9, a, c, d, e, f. Each one will give you a different color! 
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 comments:

Post a Comment