Desperate to change command window buffer size or alternate
Posted: 06 Jun 2012 12:54
To my horror, I just realized that the text color changing utility (as well as other ones I've tried) have a strange bug in it which requires the command window's vertical buffer size to be large enough in order for colors to be displayed correctly. I didn't notice this bug since I always have my buffer size set to 300 lines or more. When I reset the history back to the default 25 lines, my heart practically stopped. Without the buffer size being large enough, the colors on the screen spill over; making a big mess. My entire batch file uses this color changing utility all over the place.
I am hoping someone much smarter than me can figure out the best way to handle this with the least amount of code change to my gigantic batch file.
Where, even the simplest code can trigger this bug in any of the below utilities. I can't find any mention of this bug anywhere.
Test.cmd
chgcolor.exe
http://www.mailsend-online.com/blog/set ... -file.html
CoColor.exe
http:\\www.horstmuc.de/win/cocolor.zip
ColorX.exe
http:\\www.westmesatech.com/files/sst27.zip
I am hoping someone much smarter than me can figure out the best way to handle this with the least amount of code change to my gigantic batch file.
Where, even the simplest code can trigger this bug in any of the below utilities. I can't find any mention of this bug anywhere.
Test.cmd
Code: Select all
:start
chgcolor.exe 80
echo Test test test test test
chgcolor.exe 07
echo -Test test test test test
echo -test test test test test
goto start
chgcolor.exe
http://www.mailsend-online.com/blog/set ... -file.html
CoColor.exe
http:\\www.horstmuc.de/win/cocolor.zip
ColorX.exe
http:\\www.westmesatech.com/files/sst27.zip