2008-11-01

%* in batch files

So I was reading through the compile script generated by GWT, and encountered a really random string of characters: %*. I did a Google search, and it turned up 0 results. Does anyone know for sure what this means? From where it's positioned and from the docs on that particular script, I think that it evaluates to all of the arguments passed into the batch script. If this is true, it would be really nice, since it would make it so that I could avoid doing all of this shift and %1 stuff in a batch file to get a list of all of the arguments.

No comments: