How to pass values to .bat file

Inside the .bat file:

setlocal

set variableName1=%1
set variableName2=%2
set variableName3=staticValue

 

call mvn install:install-file -Dfile=”%variableName1%\abcd.jar”

 

Leave a Reply

Your email address will not be published. Required fields are marked *