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 echo

The current time is %time%

goto CLOCK

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



    • Backyard Contest

      Backyard Contest
    • 1 Hour Challenge

      1 Hour Challenge
    • Classroom Science Contest

      Classroom Science Contest