running bat file using java
Hi folks...
I too had the same problem. I first used as
Runtime.getRunt ime().exec("cmd .exe start /c test.bat");
Then I tried as below. It works fine.
Runtime.getRunt ime().exec("cmd .exe /c start test.bat");
Try this... Have fun...
Leave a comment: