Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Not able to run a batch file from a java program
- runtime.getruntime().exec("cmd /c C:\test.bat"); //Working
- runtime.getruntime().exec("cmd /c C:\Program Files\test.bat"); //Not Working
- runtime.getruntime().exec("cmd /c "C:\Program Files\test.bat"");
Add Comment
Please, Sign In to add comment