I have a problem in running a batch file using runtime.exec();
the problem is if the
java file and .bat file is in the same directory the program is working fine.but if the files are in different directory it is not working.also no exceptions are thrown.I am giving the correct path in java also like.Process proc = rt.exec("c://test/ddd.bat");
the exit value for the correct execution is 0 and for other is 1.program is given below.
Pls help
[ December 15, 2003: Message edited by: Michael Ernest ]