1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Windows Title of Drive & Directory?

Discussion in 'Support' started by Stephen Howe, Mar 18, 2010.

  1. Stephen Howe

    Joined:
    Jun 7, 2008
    Messages:
    127
    Likes Received:
    0
    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
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    Try the command

    set titleprompt=$P

    --
    HTH, Steve
     
  3. dbartt

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

    Dennis
     
  4. dbartt

    Joined:
    May 29, 2008
    Messages:
    36
    Likes Received:
    0
    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.
     
  5. Stephen Howe

    Joined:
    Jun 7, 2008
    Messages:
    127
    Likes Received:
    0
    Perfect.
    Thanks Steve
     

Share This Page