Hello,
i am looking to have a batch (.bat) file created that will launch a java script from a certain folder with a few command line arguments. This is being used for a java based online game on windows 2008 servers.
1. We have a program that will automatically run the cmd prompt to start the process.
2. Once the command is ran it also needs to create the .bat file and save it in the newly created folder.
3. To give an example the command that needs to be saved in the bat file looks like this.
-Djava.library.path=./ -cp [login to view URL];[login to view URL];[login to view URL];[login to view URL];./ -Duser.home=path_to_users_directory
4. Our system will launch the bat file after it is created like this: cd /d path_to_users_directory [login to view URL] -Xmx![Xmx]M -Xms![Xms]M
5. This is not a minecraft setup
6. We can provide a copy of the game files for testing if needed.