gudn tach!
es geht noch einfacher, naemlich ueber ein pseudo-array:
im folgenden code wird ein array testscript_param_ mit den parametern befuellt, also testscript_param_0, testscript_param_1, ... testscript_param_[latex]n[/latex].
set testscript_counter=-1
setlocal enabledelayedexpansion
:anfang
if "%1"=="" goto ende
set /a testscript_counter=testscript_counter+1
set testscript_param_%testscript_counter%=%1
shift
goto anfang
:ende
for /l %%i in (0,1,%testscript_counter%) do echo !testscript_param_%%i!
prost
seth