Tuesday, January 28, 2003 03:12 PM
I believe error code 2 means "File Not Found", so it is likely that the line:
Process p = Runtime.getRuntime().exec("\import\dataimport.bat");
is not resolving to a file correctly. on unix, you should be using "/" insteat of "" for File separators. try giving the absolute path to the the .bat file, and try it again. also, make sure that the .bat file has read and execute permissions for the user that is running the web server.