How do I see Windows 10's ANSI in action?

May 20, 2008
Syracuse, NY, USA
I set ANSI=No and ANSIWin10=Yes and restarted TCC. I didn't see my colored prompt (I saw ANSI gibberish). I have a colored prompt in CMD. How do I get Windows 10 ANSI?


Scott Mintz
May 20, 2008
Solon, OH, USA
IIRC, the ANSIWin10 setting is only used by TCMD to know whether to inject the ANSI64/ANSI32 DLL. The regular ANSI setting is used to turn ANSI on or off.

I believe TCC automatically uses Win10 ANSI when ANSI is enabled. I can't remember if Rex fixed the issue I was seeing during the alphas/betas. Or if it came down to having the settings correct.

I do know that if TCMD is started with the Win10 feature off, it will load the DLL. And even if you subsequently check that box, it does not get unloaded until you restart TCMD.

On my Win10 PC, I have ANSI=Yes and ANSIWin10=Yes, in both 4NT and TakeCommand sections of the INI file. And ANSI works correctly for me.
May 20, 2008
Syracuse, NY, USA
Hmmm! All I can find in the help is this.
ANSIWin10=YES | no : If set to NO, TCC will use its internal ANSI instead of the Windows 10 console ANSI support.

I think I get it now. To see colors in stand-alone TCCs you must have ANSI=Yes. Who provides the colors (TCC/Windows) depends on ANSIWin10.

I stumbled on one thing that misbehaved with ANSIWin10=No. I was playing with wsl (see discussion in another forum). I wondered if you get a wsl for every running linux program (answer apparently no). so in bash I issued something like

/mnt/c/apps/tc23/tcc.exe /c tl \| grepp /i wsl

GREPP is a TCCC plugin, but "tl" (tasklist wrapper) uses "wsl egrep" and "wsl sort". With ANSIWin10=No, when I got back to the bash prompt, I saw this (and I got a sound).


The same experiment from a TCC started with ANSIWin10=Yes gave no sound and ended up looking a little better.

Similar threads
Thread starter Title Forum Replies Date
nickles ANSI Colors Windows 7 no longer working Support 6
thorntonpg windows 11 Support 12
vefatica Windows 10 themes Support 0
J Take command does not start on Windows 10 Support 3
D How to? Windows Key-Left and Windows Key-Right Support 9
Joe Caverly PYTHON from Microsoft Windows Store Support 2
D Open Windows 10 Photos app from command line Support 11
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
vefatica Console popup windows don't work correctly Support 0
D Layout debugger windows Support 2
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
D Which is the latest version for Windows XP? Support 2
rconn News Windows 7 Support Support 0
Joe Caverly Windows Size is 80x0 Support 2
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
G Taskbar Windows 10 Support 7
T Windows Terminal Support 2
Joe Caverly Windows Sensor Support 5
vefatica Windows 10 and line wrapping selection? Support 6 New Problem with later Windows 10 Support 10
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
T Take Command v21 on Windows Server Support 1
Bill de Haan "Sensitive Privilege Use" in Windows security auditing Support 7
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
Joe Caverly What version and Windows OS are you using? Support 3
A Windows 10 This app can't run on your PC Support 2
G 4NT on Windows 10 Support 3
vefatica Undesired scrolling in Windows 10 enhanced console. Support 2
vefatica Windows 10 version number? Support 6
A List windows with titles matching given pattern? Support 2
M New "pinned" attribute (since Windows 10 1709) Support 6
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
M TCC incorrect dir output since Windows 1803 Support 6
G Version 20.11 installed on Windows 10 problems Support 9 TCC v22 & the Windows 10 Console Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
I tcmd versus tcc in Windows 10 Support 2
Dick Johnson DrawBox now broken in Windows 10? Support 6
CWBillow Editing in the root directory of windows 10 Support 6
CWBillow Clearing out the Windows Temp folder Support 2
H New command not working well in Windows 7 Support 4
H _winver shows 6.1 on windows 7 Support 7
Joe Caverly Windows x64 Support 4
mscheuner TCMD 20 on Windows 10 - always loosing its settings Support 1 Windows Installer failing again... Support 6
M Windows Installer bug? Support 4

Similar threads