There is a maven project, a jar is built, the application is launched via the command line and takes arguments.

How to write a bat-file to run from the terminal with arguments?

Closed due to the fact that the essence of the question is incomprehensible by the participants of jfs , Suvitruf , Akina , Vladimir Martyanov , Nofate Nov 7 '17 at 15:13 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    cd C:\path\to\project java -jar project.jar param1 param2