How to Make Your Own Clock in Batch

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

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


Be the First to Share

    Recommendations

    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    5 Discussions

    0
    miguelsgamingch
    miguelsgamingch

    1 year ago

    cool. thanks now i know how to make a clock on batch

    0
    Prostyle4444
    Prostyle4444

    7 years ago on Introduction

    Anyway I changed it As not many people have colous.exe. Thanks for informing.

    0
    rimar2000
    rimar2000

    7 years ago on Introduction

    It worked, but previously I changed "colous" by "colours"