How to Make a Clock With Batch

by ismartroman in Circuits > Microcontrollers

957 Views, 1 Favorites, 0 Comments

How to Make a Clock With Batch

Batch Clock i made!

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

If you have, then read this article!

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).

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)