how to get command line arguments in batch file code example Example: batch script arguments @echo off echo %1 echo %2 echo %3