add argument to .bat file 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% %*
@echo off
echo %1
echo %2
echo %3
echo off
set arg1=%1
set arg2=%2
shift
shift
fake-command /u %arg1% /p %arg2% %*