In my batch file on Windows XP, I want to use %* to expand to all parameters except the first.Test file (foo.bat):
%*
Don't think there's a simple way to do so. You could try playing with the following workaround instead:
@ECHO OFF >tmp ECHO(%* SET /P t=
Example:
test.bat 1 2 3=4
Output:
2 3=4