How to Make a Clock With Batch

Introduction: How to Make a Clock With Batch

Have you ever wondered if you can make a working clock with batch?!

If you have, then read this article!

Step 1: Setting It Up

Download a code writing software like notepadd++, which you can download here.

Or, just use notepad(Which is a built in writing software in windows devices).

Step 2: Writing the Code

The code for this one is really simple so ill just tell it to you now:

@echo off
title DOS-Based Clock

color 0a

cls

:Clock

cls echo

The current time is %time%

goto CLOCK

P.S you can use any color cobination you want(I personnaly prefer fd)

Be the First to Share

    Recommendations

    • Cookie Speed Challenge

      Cookie Speed Challenge
    • Unusual Uses Contest

      Unusual Uses Contest
    • Reclaimed Materials Contest

      Reclaimed Materials Contest

    Comments