Run Gatling from Windows Command Line

Hello,

I am trying to run Gatling from the command line on Windows 10, in order to be able to pass some setup parameters.

I have downloaded the Bundle, and can use the Batch Files to record a script and then invoke it as a test run, from a list of all the available script files. The documentation talks about passing parameters using JAVA_OPTS=… but I don’t see how to use that. What I think I want is a Windows command line which invokes Java, gives it the Gatling code and the script file (and any other necessary parameters), which then runs. Does that work, or how should I be doing it?

Thanks, Tony