how to pass the parameter into batch file using java runtime.exec().
**Process pp = run.exec("C:\Program Files\Apache Group\Tomcat 4.1\bin\RMIClientInvoker.bat C:\Program Files\Apache Group\Tomcat 4.1\bin localhost date");**
when i using this coding error will occur.the parameters are last three part.batch file is RMIClientInvoker.bat. i try in command line the same error has appear but i put the double Qoutes to the parameter the correct o/p display.so any one help how to give the parameter with doubleQoutes.