How to Make a Clock With Batch

148

1

Posted

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

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments

    I hope you liked this instructable