Welcome!

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

SignUp Now!

Garbage characters in Prompt

Oct
22
0
I always had the Prompt variable defined as below in the batch file TCSTART.btm:

Set Prompt=[Computer:$S%ComputerName%]$S[User:$S%UserDomain%\%UserName%]$_$P$G

In version 35 it displayed correctly as:
TCC 36.01.55 x64 Windows 11 [Version 10.0.26100.8457]
TCC Build 55 Windows 11 Build 26100
Registered to XXX
[Computer: Laptop] [User: Domain\Name]
D:\>

I just upgraded to version 36 and now it is displayed as:
TCC 36.01.55 x64 Windows 11 [Version 10.0.26100.8457]
TCC Build 55 Windows 11 Build 26100
Registered to XXX
←]133;A←\[Computer: Laptop] [User: Domain\Name]
D:\>←]133;B←\

Looks like control characters are being inserted; this is happening both in TCC.exe and TCMD.exe.

Any changes I missed between the two versions?

Thanks in advance.
 
Back
Top