How to Make a Clock With Batch

Published

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)

Share

    Recommendations

    • Water Contest

      Water Contest
    • Clocks Contest

      Clocks Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    Discussions