Skip to content

Instantly share code, notes, and snippets.

@companje
Last active March 9, 2020 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save companje/fedc87bd7968b597270484f92655cd3f to your computer and use it in GitHub Desktop.
Save companje/fedc87bd7968b597270484f92655cd3f to your computer and use it in GitHub Desktop.
Restart Globe4D (with taskkill / kill)
@ECHO OFF
::KILL PREVIOUS INSTANCES
C:\Windows\System32\taskkill.exe /f /im javaw.exe
cls
::FIRST START DRIVER
CD C:\Users\Rick\Documents\Processing\Globe4D-AllianzDriver3\Globe4D\application.windows64\
Globe4D.exe
choice /T 8 /C 123 /D 1 /M "Please wait for the globe software to start..."
::AFTER 8 SECONDS START APPLICATION
CD C:\Users\Rick\Documents\Processing\Globe4D\application.windows64
Globe4D.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment