It has been a long time since I've posted about notepad tricks last time. Today I'm gonna share another funny notepad trick. This time you will learn how to create a Clock with date and time in notepad. You can also edit the code by yourself. But incorrectly altering the code may result failure. So try it carefully . . .
There are many other notepad tricks published in this site. You can read these here:
Okay let's start. All you need to do is just copy the following code and paste this in a notepad document. Then save it as batch file I mean saving with .bat extension. Follow the steps below:
- Go to the Desktop. (You can do it anywhere. But desktop will be more convenient.)
- Click right mouse button and select Text Document to open Notepad. (Or Press Start + R > type Notepad > hit Enter)
- Now copy the following code and paste it in the newly created text document.
- Save the file as Clock.bat (Save it on Desktop or anywhere you like).
- Now you will see a batch file named Clock.bat
- Double click on it to see the result!
@echo offTitle DOS Based Date and Clockcolor bcls: Clockclsecho Current Date: %date%echo .............echo .............echo Current Time: %time%goto Clock
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!
Sir I am happy that you have caught me. I have already link the original post. Please let me contact with you my number is 01919882698. I will call you I want to disturb you because I want to learn.
ReplyDeleteLiveTechnology
Thanks for your interest. But actually I am getting busier day be day cause I have passed my free times.
DeleteNow taking preparation for MBA and Job. You can contact me by Google Talk.
Email: munnamark@gmail.com
I like this page....and it most useful
ReplyDeleteonly the numbers are showing not clock
ReplyDeleteOf course it doesn't look like a real one :)
DeleteBRILLIANT.... WISH YOU THE BEST IN ALL YOUR ENDEAVORS
ReplyDeletePlz help me.anyone can help me.after click on clock.bat file it opened & enter the new date and time.but my date and time is not accept it.why
ReplyDeleteThis date and time are provided by your system. Why do u need to change it?
DeleteBut how can i go forward without enter the time and date
DeleteDate and time will be provided by the system . . .
DeleteHai. Rahaman.. Will u please tell me a windows command to make a screen shoot at each hour... Like 1:00 clock 2:00 clock etc..
ReplyDeleteI need to find it. Then I will share ...
DeleteIn windows 10, it's not working. Clock! You will be missed...
ReplyDeletei like ur page...thank you for updating IT ideas ...keep it up sir...plz..
ReplyDeleteThanks for the wish :)
Delete