I'm trying to run First.bat
file through java code but I'm getting error(Warning) popup that says
Windows cannot find First.bat. Make sure you typed the name correctly, and then try again.
Can anyone tell me what kind of error is it and where do I exactly place .bat
file to excute?
Process batRun = Runtime.getRuntime().exec("cmd /c start First.bat");