Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Update Title

  • Thread starter Thread starter ccb
  • Start date Start date
Jul
47
0
TCC 14.00.31 x64 Windows 7 [Version 6.1.7601]
titleprompt=%@lfn[%_cwd]

"Take Command normally changes the window titles to include the command or batch file name each time a new command is executed. If you prefer a static title bar which does not change with each command, disable this option."
- When this option is checked, I typically see the tab title change to the running command.
- When this option is NOT checked, the tab title changes to "tcc.exe" when I run a command.

I'd "prefer a static title bar which does not change with each command".
 
I do not see the reported effect using
TCC 14.00.31 Windows XP [Version 5.1.2600]
when the option is not checked, i.e., title remains constant.

BTW,
1/ TITLEPROMPT must be defined as an environment variable using the SET command.
2/ %_cwd is already an LFN, so the command
set titleprompt=%_cwd
is sufficient.
--
HTH, Steve
 
Unchecking "Update Titles" works for me.

Do you by any chance have a PRE_INPUT or PRE_EXEC alias defined?
 
Unchecking "Update Titles" works for me.

Do you by any chance have a PRE_INPUT or PRE_EXEC alias defined?
I can't find a PRE_INPUT or PRE_EXEC alias defined anywhere. (They would show up if I ran 'alias' at the cmd line, wouldn't they?)

I have an alias:
bld=timer & c:\bin\msbld.bat %$ & timer
When I run that, the tab title changes to "tcc.exe".
 
I can't find a PRE_INPUT or PRE_EXEC alias defined anywhere. (They would show up if I ran 'alias' at the cmd line, wouldn't they?)

Yes.

I have an alias:

When I run that, the tab title changes to "tcc.exe".

Does the title change if you run a simple command like DELAY 2 or PING LOCALHOST ?

What's in MSBLD.BAT? Does it open any subshells?
 
I use UpdateTitles=No and TITLEPROMPT=%[_4ver]$s$s[%_pid]$s$s$p. If I "UNSET TITLEPROMPT" the caption is rock-steady.
 
msbld.bat:
@echo off
if "%1"=="-?" goto help
set TRGT=%1
set CONFIG=%2
REM Set the VS2010 envronment
if "%MSVARS__"=="" call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.b
set MSVARS__=MsVarsSet

if "%1" == "" set TRGT=BUILD
if "%2" == "" set CONFIG=Debug
@echo on
MSBuild /t:%TRGT% /p:Configuration=%CONFIG% /property:WarningLevel=1
@echo off
set TRGT=
set CONFIG=
goto xit
:help
echo MSBld (trgt) (config)
echo Default trgt = REBUILD
echo Defalt config = DEBUG
:xit
@echo off
MSBuild is MSBuild.exe
 
It seems to make a difference whether I use the alias or not.
Using alias = bad behavior.
Running msbld.bat directly = good behavior.
 
Back
Top
[FOX] Ultimate Translator
Translate