JSI Tip 10535. How can a batch script display multiple colors on a command line?

Jerold Schulman

May 31, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today


Download ct_2k232.zip and unzip it. Place Ctext.exe in a folder that is in your PATH.

The Ctext.txt file contains:

        +---------------------------------------------------+        |                   Dennis Bareis                   |        |             [email protected]              |        |                                                   |        | http://www.labyrinth.net.au/~dbareis/ppwizard.htm |        +---------------------------------------------------+Description~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Simple program while allows you to display batch file output in manycolors.How To use~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Simply unzip into any directory (you may wish this directory to be inthe "PATH").  See the example batch file ("TESTIT.CMD") for moreinformation.  If the program is executed without parameters then itdisplays some basic information about it's syntax.

When I ran TESTIT.CMD, I received this output

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like