reference for scripting batch files Updated May 7, 2026 / 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