Jakub Arnold Asked: 2010-01-26 04:16:12 +0800 CST2010-01-26 04:16:12 +0800 CST 2010-01-26 04:16:12 +0800 CST How to enable ANSI escape codes in Windows cmd? 772 What is the simplest way to enable ANSI escape codes (eg. colored output) in Windows cmd? windows windows-command-prompt color ansi 2 Answers Voted Best Answer Dennis Williamson 2010-01-26T06:58:55+08:002010-01-26T06:58:55+08:00 CMD does not support ANSI escape sequences. You'll have to use COMMAND.COM. What is it that you're trying to do? How to Enable ANSI.SYS in a Command Window (for COMMAND.COM) How to Use ANSI.SYS in Windows NT (for COMMAND.COM) Edit: You can get less for Windows and use: less -R filename Gerald Combs 2010-01-26T09:02:40+08:002010-01-26T09:02:40+08:00 You might try Cygwin's bash. Terminal colorization is something that Just Works under Cygwin.
CMD
does not support ANSI escape sequences. You'll have to useCOMMAND.COM
. What is it that you're trying to do?How to Enable ANSI.SYS in a Command Window (for COMMAND.COM)
How to Use ANSI.SYS in Windows NT (for COMMAND.COM)
Edit:
You can get
less
for Windows and use:You might try Cygwin's bash. Terminal colorization is something that Just Works under Cygwin.