TITLEPROMPT question

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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
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.