hi
I am trying to run batch file from
java.
I have done with following but it is not working .
try
{
Runtime rt= Runtime.getRuntime();
String args1="C:\\Repository\\Repository_Automation\\sample.bat";
Process proc=rt.exec(args1);
}
catch(IOException e)
{
System.out.println(e);
}
It works for exe file.
Please let me know the solution.