Fun Rainbow Clock for Batch Files

by Governor Keagan in Circuits > Computers

1155 Views, 3 Favorites, 0 Comments

Fun Rainbow Clock for Batch Files

clock-clipart-yckanA9cE.gif
Capture3.PNG
Capture4.PNG

This is a simple code to display the time in multiple colours.

Code:

@echo off
title Multi coloured time

:1

color 0a

echo Time: %time%

goto 2

:2

color 0b

echo Time: %time%

goto 3

:3

color 0c

echo Time: %time%

goto 4

:4

color 0d

echo Time: %time%

goto 1

Single Line Display

@echo off

Title Clock

Colour 8e

:a

Time...%time%

Cls

Goto a

This will show the time on one line instead of multiple.