Post Top Ad

Sunday, July 13, 2014

How to create a clock on windows using Notepad

Hi guys Welcome to Techyknights.In this tutorial i am gonna show you how to make your own clock using notepad.Before going to perform this trick you should have basic knowledge about batch programming. So lets see how to do it.


1.Open notepad(win+R).
2.Now copy the below code in to the notepad. 

@echo off
title Jagadish founder of techyknights
echo Date:%date% Time:%time%
goto start 

3.Now save the file with ".bat" extension and you will find an icon as shown below.
4.Now double click on the icon and the command prompt will pop up showing the data and time.

That's it friends i hope you enjoyed the article.If you have any queries regarding any topic feel free to ask us through comments and have a nice day.

No comments:

Post a Comment