Java to batch file -
How can I pass a parameter to a Java program in a batch file that I can get help Use same Java program.
The following stub indicates the piece of code where I run the batch file
runtime RT = runtime.gettime (); Rt.exec ("C: /test.bat");
I need to know if I can pass some parameters of test.bat which is used in the snippet above.
You can use a string array as Runtime.getRuntime () in the form of AG. Exec ()
Public Process exec (string [] cmdarray throws IOException
Comments
Post a Comment