Script.bat24
@echo off set "arg1=%1" if "%2"=="" echo Silly Billy I need 2 arguments & pause & exit set "arg2=%2" echo Parameter 1 is =%arg1% echo Parameter 2 is =%arg2% pause and continue
set location=Stackoverflow
set user=Noft
C:> script.bat %location% %user%