This discussion is archived
2 Replies Latest reply: Apr 3, 2008 1:47 PM by 807591 RSS

Java side batch commands? I.e.: open FILE

807591 Newbie
Currently Being Moderated
Is there a way to add commands for a batch file into a java code?

Like...

If i was going to make a code to open a text file, in a ms-dos/batch file i would put
open FILENAME
So is there a way i can make it use the batch to open a file, but without clicking the batch to do it.

For example;

Im going to have my own game, people will have the open in the batch file of the game client, so they can just edit so it dosn't do it, but the client will be obfuscated and closed source, so they wont be able to edit that'

Thanks for any help.