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

后端 未结 4 2108
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 10:27

This is related to this question : How to get coloured file listing in windows cmd shell ?

I\'m trying to get, wouldn\'t you believe it, coloured file listi

相关标签:
4条回答
  • 2020-12-15 10:50

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

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

    0 讨论(0)
  • 2020-12-15 10:51

    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).

    :-)

    0 讨论(0)
  • 2020-12-15 11:10

    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.

    0 讨论(0)
  • 2020-12-15 11:13

    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.)

    0 讨论(0)
提交回复
热议问题