Command echo in the window caption.

Apr 13, 2010
318
7
62
The Hague
The shell's window caption echoes commands from TCStart.BTM

I have several questions about that.
- Where in the HELP is this documented?
- Does this (still) serve any purpose? If so, what purpose is that?
- Can it be switched off? If, so where and how?
 
May 20, 2008
12,171
133
Syracuse, NY, USA
This (OPTION ... StartUp tab) might be what you want:

1640097091021.png


There is also the environment variable TITLEPROMPT. It uses the same fields as PROMPT and is updated whenever the prompt is displayed.

I have "Update titles" unchecked and TITLEPROMPT = $s%[_4ver].%[_build]$s$s[%_pid]$s$s$p

1640097307055.png
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
I have UpdateTitle=Yes, but commands inside a batch file definitely are not echoed in the title bar. Only the name of the batch file itself.

DJ, do you see the same thing if you temporarily rename TCMD.INI ?
 
Apr 13, 2010
318
7
62
The Hague
I have UpdateTitle=Yes, but commands inside a batch file definitely are not echoed in the title bar. Only the name of the batch file itself.

DJ, do you see the same thing if you temporarily rename TCMD.INI ?
You too, Charles. Thank you.

In reply to your question; I rarely use the standard name and location of the ini-file.
Why would that influence anything?

Happy New Year, everybody!
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
You too, Charles. Thank you.

In reply to your question; I rarely use the standard name and location of the ini-file.
Why would that influence anything?

Happy New Year, everybody!

Renaming the .INI file and restarting is one easy way of ruling out the .INI file as the source of the problem. (The /II startup option is another.)
 

Similar threads