At 05:47 PM 4/16/2001, you wrote:
>Hello All !!
>
>I am in big trouble, i want to call batch file on the server from the
>servlet. I have tried the following option but they didn't work.. please
>let me know if is there any way to do it...
>
>Process p = Runtime.getRuntime().exec
>("cmd D:\\myFolder\\myBatchFile.bat");
>p.waitFor();
Try "cmd /c d:\\myFolder\\mybat.bat"
Jim
--
* Jim Cheesman *
Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
Personal: [EMAIL PROTECTED] (34) 606 770 244
Practice safe eating -- always use condiments.