In my batch file on Windows XP, I want to use %* to expand to all parameters except the first.Test file (foo.bat):
%*
Resume of all and fix all problems:
set Args=%1 :Parse shift set First=%1 if not defined First goto :EndParse set Args=%Args% %First% goto :Parse :EndParse
Unsupport spaces between arguments: 1 2 3 4 will be 1 2 3 4
1 2 3 4