How to get list of arguments?
dancavallaro has it right, %* for all command line parameters (excluding the script name itself). You might also find these useful: %0 – the command used to call the batch file (could be foo, ..\foo, c:\bats\foo.bat, etc.) %1 is the first command line parameter, %2 is the second command line parameter, and so on till … Read more