I have seen the usage of %* in batch files and command lines.
Can someone explain the typical usage of %* with an example?
The
%*modifier is a unique modifier that represents all arguments passed in a batch file. You cannot use this modifier in combination with the%~modifier. The%~syntax must be terminated by a valid argument value.
Source: