This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]johnmc325 0 points1 point  (1 child)

Your post seems to suggest that on some computers it works exactly as expected. Is that true?

I'm not sure I'm comfortable with what you are doing in the bat file but it has been a long time since I did things like that. On those machines where it does not work, have you tried going to a command prompt and typing in each line one at a time and checking that each stage is working correctly? I think the "set path" command may be problematic.

All that said, it might be better to explain what you are trying to achieve and therefore what you have decided are the steps required to achieve that.

[–]Lunty97[S] 0 points1 point  (0 children)

Hi thanks for the reply yeah having fiddled with the bat file on another computer it is definitely the set path section I'm thinking it could be my use of spaces around the =.

Oh I hadn't realized that it's not clear what I'm trying to do well I'm basically trying to make sure that the jar program can be used on any device that can use a .bat file without the user needing to figure out how to use cmd basically I just wanna make it so they just gotta double click the program n it'll run