- Jun
- 570
- 4
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