how to pass command line argument to a bat script code example
Example 1: batch script arguments
@echo off
echo %1
echo %2
echo %3
Example 2: run bat file with arguments
echo off
set arg1=%1
set arg2=%2
shift
shift
fake-command /u %arg1% /p %arg2% %*