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

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 |

Simple program while allows you to display batch file output in many

How To use
Simply unzip into any directory (you may wish this directory to be in
the "PATH").  See the example batch file ("TESTIT.CMD") for more
information.  If the program is executed without parameters then it
displays some basic information about it's syntax.
When I ran TESTIT.CMD, I received this output
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.