I wrote a batch file that runs a jar file. But after it runs the jar file the batch file doesn't close until the jar file is also closed. How can I close the command screen when it opens the jar file?( when the jar file is open I want to close the command screen.)
My batch file :
@echo off
java\jre7\bin\javaw.exe -jar ".\sample.jar"
exit