Hi, I want to run .bat file thru java programme. I can run .bat file thru java programe statically. But I want to pass paramter to it dynamically.
Right now i am using command as Runtime.getRuntime().exec("test.bat p1 p2 p3"); I want to pass parameters p1, p2 and p3 as dynamically to it. Please tell me any other method is there to pass the parameter dynamically.