I'm new with batch file and the code I'm using I had to find but it always opens cmd
but doesn't close it after the program is open. I'm aware that it doesn't close because it's a window process and cmd
doesn't close until after the window is closed. I would like to to close after it opens the window. Here is the code:
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xmx1G -Xms1G -jar "Minecraft_Server.exe"
I've used many different ways close it like putting Exit at the end or putting cmd /c
in front but that didn't work.