Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using color in batch scripts

Status
Not open for further replies.
Jan 15, 2002
126
Is there any way to change the color of just a variable instead of the entire background or text? I would like to set a variable to red lettering, for instance, and keep the primary text color of everything else as white. Any ideas?

----------------
Thanks!
cahelmster [lookaround]
 
In the ancient world of DOS, one could add ANSI codes to a batch file to acheive this. I do not know if this would still work or not.

Good Luck!
 
batch files...

----------------
Thanks!
cahelmster [lookaround]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top