Does
java -jar foo.jar %*
meet your needs? It should add all parameters from the batch execution to your application call within the batch file.
Does
java -jar foo.jar %*
meet your needs? It should add all parameters from the batch execution to your application call within the batch file.