Hi,
I have asked this question before. I am having the folowing requiremet.
- Run the batch file.
- Give some time to run the batch file. 3.Close the batch file
i have the following code that does not meet the requirement. Please tell me where i have made mistake
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec(command);
//pr.exitValue();
//wait(10000);
pr.waitFor();
pr.destroy();
I have used the waitFor that doesnot work.how can i give delay for about 15 minutes after executing the batch file
Thanks