How to load ANSI escape codes or get coloured file listing in WinXP cmd shell?

a 夏天 提交于 2019-11-28 23:46:07
Peter

I ran across ANSICON at http://adoxa.110mb.com/ansicon/index.html ansicon github repo

Using it to colorize NAnt output. ls --color is being processed correctly.

Source code is provided, but I haven't examined it.

Actually I reckon A+ for ansicon -- Use

  • ansicon.exe -I

Installs it as a filter on your CMD.exe sessions. Works a treat with HTTY (ruby gem).

:-)

You could start the builtin Telnet server, firewall it to only allow localhost access, and use a telnet client that understands such escapes - even the native one. (I know, an ugly hack.)

It's possible to patch cmd.exe....

http://gynvael.coldwind.pl/?id=130&lang=en

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!