From: Thomas Chust Date: 2009-08-07T02:57:25+09:00 Subject: Re: Change console forground to Red or Green 2009/8/6 Laup-Dawg : > [...] > This is what I saw in the window's command window after running the > script. > > "The test ←[31mFailed←[0m" > > The foreground color didn't change to red, it remained the default. > [...] Hello, as Gordon Thiesfeld already mentioned in this thread, the Windows console doesn't support ANSI escape sequences natively and that the win32console gem could be useful to emulate such functionality. The output you see includes the uninterpreted escape sequences verbatim -- so it actually looks "right" in a certain sense ;-) I faintly remember that in the DOS and Windows 95 days you also had the option to load a driver that globally taught the console to display ANSI escapes, but I have no idea whether something similar is still available for modern Windows systems. I haven't touched a Windows box in ages, so I don't have any hands-on experience in this area. cu, Thomas -- When C++ is your hammer, every problem looks like your thumb.