Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 2205

Some strange behavior after Color command

$
0
0
Here's a simplified batch file to demonstrate the issue

Code:
@echo off
echo _FG is %_FG
echo _BG is %_BG
echo Hello
color
echo _FG is %_FG
echo _BG is %_BG
echo There

And here's what shows in the TCC tab

1783719748416.webp

Note that even though my colors are set to bright white on blue, the _FG and _BG variables return White on Black. That seems odd.

But everything works fine unless/until I issue a Color command with no parameters.

Per the help file for COLOR:
"If you do not specify a new...

Read more

Viewing all articles
Browse latest Browse all 2205

Latest Images

Trending Articles



Latest Images