Syntax Highlights - Question

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
tinman47
Posts: 4
Joined: 15 Mar 2007 16:07

Syntax Highlights - Question

#1 Post by tinman47 » 04 Apr 2007 21:49

Can You Put Syntax Highlighting In A Batch Script???Reply If U Know! :P

DosItHelp
Expert
Posts: 239
Joined: 18 Feb 2006 19:54

Syntax Highlights - Question

#2 Post by DosItHelp » 05 Apr 2007 22:02

tinman47,

Yes, depends on the editor you use. I.e. Use the Crimson Editor and you get syntax highlights.

With a trick (and some restrictions) you can also make a batch program output a text in color, by using the batch function :echo.
http://www.dostips.com/DtCodeCmdLib.php#echo

DOS IT HELP?

Post Reply