Click to See Complete Forum and Search --> : ANY GURU?: My Console App needs ANSI support -- doesnt work :(


quantass
July 22nd, 2008, 02:06 AM
To get ANSI escape code support in the dos command window you need to make sure that you have DEVICE=%SystemRoot%\system32\ANSI.SYS in the "Config.Nt" file ...

However, my C# Console Application STILL doesn't seem to recognize ANSI escape sequences regardless of my adding the device in the "Config.nt" file...

Is there any way to somehow tell C# to activate ANSI support for my console app (maybe a "switch" in Visual Studio?!?)?

Thanks