My java program works fine with cmd. It takes 5arguments and also has external library. So I am running it from cmd like
java -cp .;jxl.jar MyProgram d: abc 1 d://sv 0
I would like to develop .cmd file which will run this program and also all these arguments should be passed to that cmd file and this cmd file will give it to the jar.
So what I want is
runner.cmd d: abc 1 d://sv 0
and all these argument should get passed to java runner command.
Till now what I have done is that, I have created a cmd file with
@echo off
java -cp ,;jxl.jar MyProgram d: abc 1 d://sv 0
It works fine. Now I dont know how to pass parameters from cmd to jar.