Does %* in batch file mean all command line arguments?

Solution 1:

Yes. According to the official Microsoft documentation:

The %* batch parameter is a wildcard reference to all the arguments, not including %0, that are passed to the batch file.