Skip to main content

How to Create a Clock Using Notepad?


How to Create Clock Using Notepad


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: 
  1. Go to the Desktop. (You can do it anywhere. But desktop will be more convenient.)
  2. Click right mouse button and select Text Document to open Notepad. (Or Press Start + R > type Notepad > hit Enter
  3. Now copy the following code and paste it in the newly created text document. 
  4. Save the file as Clock.bat (Save it on Desktop or anywhere you like).
  5. Now you will see a batch file named Clock.bat
  6. Double click on it to see the result! 

@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


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! 

Stay with Marks PC Solution to get more interesting IT topics!


Comments

  1. 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.
    LiveTechnology

    ReplyDelete
    Replies
    1. Thanks for your interest. But actually I am getting busier day be day cause I have passed my free times.

      Now taking preparation for MBA and Job. You can contact me by Google Talk.
      Email: munnamark@gmail.com

      Delete
  2. I like this page....and it most useful

    ReplyDelete
  3. only the numbers are showing not clock

    ReplyDelete
  4. BRILLIANT.... WISH YOU THE BEST IN ALL YOUR ENDEAVORS

    ReplyDelete
  5. Plz 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

    ReplyDelete
    Replies
    1. This date and time are provided by your system. Why do u need to change it?

      Delete
    2. But how can i go forward without enter the time and date

      Delete
    3. Date and time will be provided by the system . . .

      Delete
  6. Hai. 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..

    ReplyDelete
  7. In windows 10, it's not working. Clock! You will be missed...

    ReplyDelete
  8. i like ur page...thank you for updating IT ideas ...keep it up sir...plz..

    ReplyDelete

Post a Comment

Popular posts from this blog

GTA San Andreas Cheat Code (PDF)

After Vice City, San Andreas is the most popular game released by Grand Theft Auto (GTA). Usually GTA releases role playing game. San Andreas is such a game where you can act like a person. You can do everything. You have to take part in missions and complete them.  To make your missions easier, there are lots of cheat codes. If you can properly apply these codes, the tough parts of the game will be easier. Cheat codes are somewhat like keyboard shortcuts of computer programs.  I've shared 63 cheat codes below. There were more cheat codes in my collection, but I've omitted the less important cheats. Effects or result of the cheats are on the left side, and the codes are on the right side.  You can copy the following codes in your PC. And for your convenience, I've also uploaded a PDF file of these codes. You will find the download link at the bottom.  Effect Cheat Code Adrenaline Mode MUNASEF All Cars Explode ALL...

Rules for Bengali Typing in PDF (Bijoy Layout)

Bijoy is the most popular layout for Bangla typing. The layout was developed by Mostafa Jabbar. He is the pioneer of Bangla typing in computer. More than 90% people use his Bijoy layout for Bangla typing. Today, I'm gonna share a PDF file with you that contains the Bijoy Keyboard layout with English fonts! If your keyboard doesn't have bengali fonts then you can print this PDF file to know where the bengali fonts are located in your keyboard. Additionally this file contains all the necessary rules and tips which are essential for Bangla Typing.  Now there are many other software available for Bangla Typing Layout. Such as Avro Easy, Unicode, Unibijoy etc. And there rules are also somewhat different from Bijoy. And some of their layouts follow the same rules like Bijoy. Hopefully this PDF file will support most of the rules when a layout is similar to Bijoy Layout.  Click to enlarge the image Download the PDF file from the button below. Follow...

Office 2016 Activator (KMSPico 10.1.5)

It's been couple of months after the release of final version of Microsoft Office 2016. And maybe you're tired of finding for a working activator for this version. Today I'm gonna share Office 2016 activator with you - no more waiting!! About the Activator   Name: KMSPico 10.1.5 File Size: 3 MB (Approx) File Type: Zipped Folder 100% Neat & Clean - No virus! Activating Capacity . . . KMSPico 10.1.5 is successfully leading the KMS world for last few months. If everything is okay, success rate is 100%. This tool has been tested and verified by Marks PC Solution. With this tool, you can activate -  Office 2016, 2013 & 2010 Windows 10, 8.1 & 8 Hopefully this version will work for both 32 bit & 64 bit versions of Windows. Installing Office 2016 Collect/ Download Office 2016 Professional Plus from Microsoft or somewhere else. Install it as trial version without any key. Use the follow...