- May
- 13,807
- 211
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.
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.