D
dan4793
Hi guys,
I was wondering if it's possible to have differently coloured text in a
command prompt Windows.
When using a batch file, or a Perl script printing to STDERR or STDOUT,
is it possible to print a single word's text in, for example, red and
the rest in the default colour (say green, for example) all in the same
line? Or is it possible to print an entire line in red text? Can
background colours also be changed? If it is possible, can someone post
how to do it?
I'm using Windows 2000 SP 4 and Windows XP SP 2.
Thanks in advance.
I was wondering if it's possible to have differently coloured text in a
command prompt Windows.
When using a batch file, or a Perl script printing to STDERR or STDOUT,
is it possible to print a single word's text in, for example, red and
the rest in the default colour (say green, for example) all in the same
line? Or is it possible to print an entire line in red text? Can
background colours also be changed? If it is possible, can someone post
how to do it?
I'm using Windows 2000 SP 4 and Windows XP SP 2.
Thanks in advance.