Replacement for ANSI.SYS at the command prompt?

  • Thread starter Thread starter Stan Brown
  • Start date Start date
S

Stan Brown

I have a program that emits ANSI.SYS control sequences to highlight
parts of its text output in certain colors. As you know, cmd.exe
doesn't honor those sequences even if ANSI.SYS is installed.

Is there some way for a running program to write codes that XP's
command prompt will accept as changing the text foreground and
background colors? I'd like to change the program so that it works in
XP as well as DOS.
 
XP has both CMD.EXE and COMMAND.COM. Did you try using COMMAND.COM instaed
of CMD.EXE?

That would most likely work for me, but it seems an unreasonable
restriction to place on users of the program that I write.

Aren't there any codes that will work in XP?
 
Back
Top