It turns out that in the CMD if it allows me to execute the following command:
C:\Users\Kevin\Desktop\Codigo\LibGDX\libgdx-nightly-latest\java -cp gdx.jar;gdx-natives.jar;gdx-backend-lwjgl.jar;gdx-backend-lwjgl-natives.jar;extensions\gdx-tools\gdx-tools.jar com.badlogic.gdx.tools.particleeditor.ParticleEditor
But he would like to know how to execute this same command but with a .bat file
I have tried with this:
@echo off
C:\Users\Kevin\Desktop\Codigo\LibGDX\libgdx-nightly-latest\java -cp gdx.jar;gdx-natives.jar;gdx-backend-lwjgl.jar;gdx-backend-lwjgl-natives.jar;extensions\gdx-tools\gdx-tools.jar com.badlogic.gdx.tools.particleeditor.ParticleEditor
pause
exit
But I get the following problem:
I leave you the link, where the file is, with which I have the problem: Here
I have downloaded the program that you are proposing
ParticleEditor
, I have carried out the tests. The problem also appeared.In that case you could try it like this:
What has been done here is not a big change compared to what you already had.
Instead of executing the entire absolute path to be able to open the program, what is done is to use the command
cd
to go to the folder that contains our program.Being there, we execute the file as you have done.
Performing the tests in this way runs correctly.