Fixed CD ~ has trash characters in it

Jun 16, 2009
16
0
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?
 
May 20, 2008
11,400
99
Syracuse, NY, USA
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.
 
Similar threads
Thread starter Title Forum Replies Date
J History file load hangs if file has complete garbage in it... Support 1
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
Peter Murschall CMDebug 26.01.37 has problems with Alias Support 21
D TCC has much more elegant ways for usebackq. What ways? Support 12
D Pasting Unicode data has different behavior on TCC and CMD Support 2
D [cosmetic] Shortcut for v24 still has v23 in its comment Support 1
D Envar _tcexit has value, even with /IX startup parameter Support 0
Charles Dye Functions which no-one has ever tried to use.... Support 5
C "Take Command has stopped working" Support 1
C "TakeCommand has stopped working" Support 3
R Fixed set /r has stopped working in build 35 Support 4
D Help index has GUNZIP Support 0
samintz WAD @format has issues in v18.00.14 Support 10
D Fixed @FORMATNC has changed. Support 6
D Fixed Dir /Nm:n has changed Support 1
vefatica Has NthArgument changed? Support 7
S Documentation KEYSTACK - has this feature been dropped? Support 5
forbin Fixed OSD /C has no effect Support 14
H Documentation Help for head has ... Support 0
D Documentation @ISPUNCT has rogue links Support 2
J Extended directory search has stopped working Support 9
old coot TC DIR command has trouble on my SSD Support 2
vefatica WAD TPIPE.EXE has stopped working Support 13
vefatica TakeCommand has stopped working Support 6
ehab aboudaya WAD starting tcmd.exe with dir that has Boost C++ Libraries zip file delays Support 2
Alan Strader Take Command IDE/Debugger has stopped working Support 5
M A new problem that has actually got me a little panicky... Support 10
cgunhouse NTVDM CPU has encountered an illegal instruction. Support 2
S PDIR has trouble processing filenames with embedded percent sign Support 3
nikbackm Find out when a process has stopped Support 5
C Utilities menu has gone ? Support 7
C TCMD's Trash not displaying as Windows' Support 2
R WAD Unusable state when using Chinese characters Support 3
C TEE command appending null characters to output Support 6
D Regexes and escape characters Support 5
vefatica Quoting file names with special characters? Support 7
vefatica How to? Add real <ESC> characters with TPIPE Support 2
C Erase all characters left or right from cursor location Support 2
J Escaped Characters and Variables Support 2
Joe Caverly Unicode, Codepage 437, and line characters Support 3
gschizas Fixed Using codepage 65001 (UTF-8) breaks non-ASCII characters Support 8
vefatica Display of special characters in aliases. Support 25
J Python: TCC command line parsing removes '=' equal sign characters Support 4
C filemasks over 172 characters fail Support 5
redwdc TCC.exe opens to 11 characters x 3 rows Support 1
G Selection characters with mouse double-click Support 3
R Function #IDOW returns only 2 characters Support 10
krischik WAD Tee printing Chinese characters Support 7
Alexander How to? how can I use Cyrillic characters in the Echo command? Support 8
jadaml Echo unicode characters from UTF-8 Batch files? Support 1

Similar threads