Autoclose batch file with java -jar command října 11, 2011 Simply, in mybatch.bat file add two these lines set var JAVA_HOME="path\to\java\bin\java " start "" %JAVA_HOME% -jar somefile.jar Next information about cmd command start look at http://ss64.com/nt/start.html Další informace