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

Batch Arguments %$ and %*

$
0
0
There are crucial differences between %$ and %*. In a batch script, the former treats commas as argument separators and %$ then produces a list of the arguments with a single space separating them (no matter how many spaces separated them in the command line). This is not what the help says. The help has the following:

the complete command tail, modified by SHIFT​

It is not the command tail; it is a list of the arguments in the command tail. Thus, my script that simply echoes %$...

Read more

Viewing all articles
Browse latest Browse all 2209

Latest Images

Trending Articles



Latest Images