reference for scripting batch files Updated Sep 6, 2024 / Filed in Reference Get params in batch script Use %<1 based index>. set arg1=%1 set arg2=%2 echo %arg1% %arg2% Wiki Index Reference Apache UbuntuBashbatchfindgitgpgMicrosoftODataPGP and ThunderbirdPHPPHP UbuntursyncscpSSHSymbolsVirtualBox