In my Launcher I have this code:
I need it to open a run.bat file in c:\data\run.bat , how can I modify this code to do this. Will rep .Code:public static void restart() {
closeServices(); System.gc();
try { Runtime.getRuntime().exec("cmd /c start run.bat");
System.exit(0);} // temp usualy 2 }
catch (Throwable e) { Logger.handle(e);
}
}
~ Jango
