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.