Fixed CD ~ has trash characters in it

Jun 16, 2009
16
0
#1
TC 17.00.62 on Win 7 [6.1.7601].

Playing with some of the new things since TC10, in this case CDing to tilde for home.

E:\Clients\MI\ap\CustOffer>echo %homepath
\Users\vrice

E:\Clients\MI\ap\CustOffer>eset homepath
HOMEPATH=\Users\vrice

E:\Clients\MI\ap\CustOffer>cd ~
TCC: (Sys) The system cannot find the path specified.
"룘ㄿﯨʥﬠʣ\Users\vrice*"

Those characters in front of \Users just show as boxes in the TCC window. I don't have a HOME environment variable, just HOMEPATH, but it appears that's the one it's finding, or at least that's the only variable with that value.

What could those invalid characters be, and where might they be coming from?
 
#4
Yup. It's screwy here too.
Code:
v:\> unset home

v:\> echo %[homedrive]%[homepath]
C:\Users\vefatica

v:\> cd ~
TCC: (Sys) The system cannot find the drive specified.
 ""

v:\> c:\

c:\> cd ~
TCC: (Sys) The system cannot find the drive specified.
 ""

c:\> cdd ~
TCC: (Sys) The system cannot find the path specified.
 "僰̜ﯨʥﭐʣ\Users\vefatica"
And I also saw empty boxes in the console.