-
-
Save johncf/a98cd3aa49491c5f58372566883e7810 to your computer and use it in GitHub Desktop.
Set correct PATH before launching server.exe (cx-Freeze build of https://github.com/johncf/java-play2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set path=%path%;%~dp0jdk\bin | |
start "" /d"%~dp0" "server.exe" | |
start http://localhost:8040/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set DESKLINK=%USERPROFILE%\Desktop\Java Playground.lnk | |
IF EXIST "%DESKLINK%" DEL "%DESKLINK%" | |
@echo Creating a Desktop shortcut . . . | |
powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%DESKLINK%');$s.TargetPath='%~pd0run.bat';$s.Save()" | |
@echo Done! | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment