I'm running a server from a command prompt. I don't want the command prompt to be visible because other people in my house keep closing it, which shuts down the server. I need some extra scripting to hide it while keeping it running. An ideal solution would allow me to access the hidden prompt and then hide it again as needed.
Here is the code I'm currently using:
@ECHO OFF IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" java -Xms1024M -Xmx2048M -jar "%~dp0craftbukkit- 0.0.1-snapshot.jar" IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx1024M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"