Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1686

Parameter %$ Different in Aliases and BTMa

$
0
0
Is this WAD? With aliases, the parameter %$ is passed exactly as is. In a batch file, however, some processing is done. In particular, commas become spaces.

Code:
TCC(27.01.24): C:\temp>alias argalias
echo Arguments = %$

TCC(27.01.24): C:\temp>argalias $1,200
Arguments = $1,200

TCC(27.01.24): C:\temp>type argbtm.btm
echo Arguments = %$

TCC(27.01.24): C:\temp>argbtm $1,200
Arguments = $1 200

Viewing all articles
Browse latest Browse all 1686

Trending Articles