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

TITLEPROMPT question

Discussion in 'Support' started by vefatica, May 25, 2011.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    My TITLEPROMPT is $s[%_pid]$s$s$p.

    If I execute "%comspec /c delay 1" the console title does not change.

    If I execute "for /l %i in (1,1,10) %comspec /c delay 1" it (the PID) changes 10 times.

    What's the difference? Shouldn't the behavior be the same?

    In v11, the title remains constant in both cases.
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    On Wed, 25 May 2011 20:58:26 -0400, vefatica <> wrote:

    |My TITLEPROMPT is $s[%_pid]$s$s$p.
    |
    |If I execute "%comspec /c delay 1" the console title does not change.
    |
    |If I execute "for /l %i in (1,1,10) %comspec /c delay 1" it (the PID) changes 10 times.
    |
    |What's the difference? Shouldn't the behavior be the same?
    |
    |In v11, the title remains constant in both cases.

    Never mind; my fault. I have "TITLE %TITLEPROMPT" in my TCEXIT. The title was
    actually changing in the first example above ... but so fast that I didn't catch
    it.
     

Share This Page