this is the batch taken from ss64.com
@echo off
:start
if "%1"=="" (goto :exit)
:: Do whatever with token %1
Echo [%1]
:: Shift %2 into %1
SHIFT
goto :start
:exit
::pause
call that batch with more than 10 arguments, it will display all
shift.bat 1 2 3 4 5 6 7 8 9 10 11
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]