Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

suggestion for better usage of start.bat #4

@Always666

Description

@Always666

When using start.bat to launch the client it leaves an ugly cmd window while the program is running...
On start.bat instead of calling the java directly as "jre\bin\java -Dprism.lcdtext=false -jar PCHWRM_Client.jar" use the start in combination with shell var "%~dp0" that outputs the current dir of the script (start.bat). Working example of the change (also removed the pause since no need to wait maybe usefull for debugging launching errrors):

start "" /D %~dp0 "%~dp0jre\bin\javaw.exe" -Dprism.lcdtext=false -jar PCHWRM_Client.jar

more info on start options / parameters @ https://ss64.com/nt/start.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions