TITLEPROMPT question

May 20, 2008
9,553
64
Syracuse, NY, USA
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.
 
May 20, 2008
9,553
64
Syracuse, NY, USA
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.