Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TITLEPROMPT question

May
12,846
164
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.
 
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.
 

Similar threads

Back
Top