Quantcast
Viewing all articles
Browse latest Browse all 1743

Question About %$ Alias and Batch Parameter

I don't remember noticing this before. In aliases, %$ returns the entire command tail as entered"

Code:
TCC(33.00.20): C:\commands\bat>alias zz
echo Command Tail: %$

TCC(33.00.20): C:\commands\bat>zz a=b
Command Tail: a=b

However, in a batch file, the equal sign is stripped, despite the fact that the help describes it as "the complete command tail, modified by SHIFT".

Code:
TCC(33.00.20): C:\commands\bat>type test.btm
echo Command Tail: %$

TCC(33.00.20): C:\commands\bat>test.btm a=b...

Read more

Viewing all articles
Browse latest Browse all 1743

Trending Articles