colorscmdwindows-7-x64ansicon

ansicon -i not working in Windows 7 x64


I have followed the direction on this site http://softkube.com/blog/ansi-command-line-colors-under-windows/ for downloading ansicon so I can have colored text in my command line. I run windows 7 on a 64-bit system. I extracted the downloaded zip files from my downloads directory into C:\ansicon. When I cd to the ansicon directory and type "ansicon -i" it responds with

'ansicon' is not recognized as an internal or external command, operable program or batch file

What's going wrong here?


Solution

  • Well the instructions on that page are slightly misleading, the directory ansicon will contain one subdir for x86 (32 bits) and one for x64 (64 bits).

    In a command window (win-r, cmd) go to

    c:\ansicon\x64
    

    and there execute

    ansicon -i