- May
- 62
- 0
This may be an artifact of my ignorance but ALIAS /r and SET /r don't seem to work under TCC 21.01.50 for quoted paths with spaces. The following batch file
Produces the following output
The quoted forms worked fine prior to updating to TCC 21.01.50. and the current behavior is a dang nuisance!!
Code:
@ver
@echo - - - -
@echo Without Quotes
alias /r %PROGRAMFILES%\JPSoft\recalias
@echo - - - -
alias /r c:\Program Files\JPSoft\recalias
@echo - - - -
@echo With Quotes
alias /r "%PROGRAMFILES%\JPSoft\recalias"
@echo - - - -
alias /r "c:\Program Files\JPSoft\recalias"
Code:
TCC 21.01.50 x64 Windows 10 [Version 10.0.15063]
- - - -
Without Quotes
alias /r C:\Program Files\JPSoft\recalias
TCC: (Sys) C:\Users\rchapman\Documents\foo.btm [4] The system cannot find the file specif
ied.
"C:\Program"
- - - -
alias /r c:\Program Files\JPSoft\recalias
TCC: (Sys) C:\Users\rchapman\Documents\foo.btm [6] The system cannot find the file specif
ied.
"C:\Program"
- - - -
With Quotes
alias /r "C:\Program Files\JPSoft\recalias"
TCC: (Sys) C:\Users\rchapman\Documents\foo.btm [9] The system cannot find the file specif
ied.
"C:\Program"
- - - -
alias /r "c:\Program Files\JPSoft\recalias"
TCC: (Sys) C:\Users\rchapman\Documents\foo.btm [11] The system cannot find the file speci
fied.
"C:\Program"