Instructables

How To Make Your Own Clock In batch

Picture of 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.

 
Remove these adsRemove these ads by Signing Up

Step 1: How To Make Your Own Clock In batch

Picture of How To Make Your Own Clock In batch



Now we start making our project by opening Accessories-> Notepad

or

go to Command prompt and type edit 

Step 2: How To Make Your Own Clock In batch

Now type the following code:

@echo off
setlocal delayexpansion
cls
@mode con cols=35 lines=7
title %username%`s watch
:time    
echo.      ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo.      ³     %time%³
echo.      ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
echo.      ³      %date% ³  
echo.      ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ping -n 2 0.0.0.0 >nul
cls
goto :time

Step 3: How To Make Your Own Clock In batch

Now save it as whatever you want.bat and then run it.


CONGRATULATIONS


Now you have made your own clock in batch


 
newtime.bat313 bytes
Prostyle4444 (author) 11 months ago
Anyway I changed it As not many people have colous.exe. Thanks for informing.
Prostyle4444 (author) 11 months ago
No I did use colous.exe to get better animation.
rimar200011 months ago
It worked, but previously I changed "colous" by "colours"
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!