Get params in batch script

Use %<1 based index>.

set arg1=%1
set arg2=%2
echo %arg1% %arg2%