When the COLOR command is used in the piped batch file, the color of
standard out is not changed.
Sample:
::test.bat
::------------------
@echo off
cls
color 4c
echo WARNING !
pause
::------------------
If you execute "test.bat" alone, the output is red text on a dark red
background.
But "test.bat | wtee test.log" leaves the screen black with white text.
Original issue reported on code.google.com by goo...@gmail.com on 18 Nov 2009 at 10:37
Original issue reported on code.google.com by
goo...@gmail.com
on 18 Nov 2009 at 10:37