I need to open a command prompt & execute ij.bat, which will take me to another prompt, where I can give command to connect to DB & later different sql stat
ij.bat
You can use this exec public Process exec(String command) throws IOException
exec public Process exec(String command) throws IOException
Also visit This Link