Introduction: How to Make Your Own Clock in Batch
Batch is nothing but programming using Command prompt. Now we are going to use the %date% and %time code for date and time and some graphic code to gives our project a nice look.
Step 1: How to Make Your Own Clock in Batch
Now we start making our project by opening Accessories-> Notepad
go to Command prompt and type edit
Step 2: How to Make Your Own Clock in Batch
Now type the following code:
@mode con cols=35 lines=7
title %username%`s watch
echo. ³ %time%³
echo. ³ %date% ³
ping -n 2 0.0.0.0 >nul
Step 3: How to Make Your Own Clock in Batch
Now save it as whatever you want.bat and then run it.
Now you have made your own clock in batch