Windows Title of Drive & Directory?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jun 7, 2008
121
0
#1
Hi

Using TCC 11.00.44

Is it possible to get TCC to reflect the current drive and directory in the Window Title? Currently it is "TCC 11.0" and something more dynamic would not go amiss.

Any other helpful similar suggestions appreciated

Thanks

Stephen Howe
 
May 29, 2008
36
0
#3
See the "TITLEPROMPT" variable. You can put just about anything in there: text,
functions, variables. For the current drive and directory use "%_cwds".

Dennis
 
May 29, 2008
36
0
#4
I should qualify the use of variables and functions in TITLEPROMPT.

If you set TITLEPROMPT from a TCC session then you should surround it with back
quotes to prevent immediate expansion: set TITLEPROMPT=`%_cwds`. If you set
TITLEPROMPT in the windows environment then you will not need the back quotes.