hi guys,
i am still quite new to programming. may i know how to run a bat file or command in the background of the application
without showing the command prompt.
right now i am able to do it, however it will still pop up the command prompt
the following is my coding.
try {
String command = "cmd /C start C:/project/mkiosk/lib/createMovieJar.bat ";
Runtime rt = Runtime.getRuntime();
pr = rt.exec(command);
} catch (IOException e) {
e.printStackTrace();
}
