With the SHIFT team. But with every shift you lose the first. This will not change %* , but you can get all the arguments, but the first:
@echo off shift set "arg_line= " :parse_args if "%~1" NEQ "" ( arg_line=%argline% "%~1" goto :parse_args )
you will now have all the arguments, but the first is stored in %arg_line%
source share