This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes General Computing and the fly likes Need Help With Batch File Scripting Language to Straighten Out PATH Problem in Windows Environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply locked New topic
Author

Need Help With Batch File Scripting Language to Straighten Out PATH Problem in Windows Environment

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
I have a batch file called the luntbuild.bat and it looks like:


And I ran the luntbuild.bat in the command prompt:
C:\Program Files\luntbuild\bin>luntbuild<ENTER>

I got:
Unable to access jarfile luntbuild-standalone.jar


Note that the luntbuild-standalone.jar is in the C:\Program Files\luntbuild directory. It is not in the "bin' sub-directory.

I think the problem has something to do with the %INSTALL_PATH%. How should I modify the scripting language to straighten it out?

Thanks for your help.
Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
I have figured it out. My batch file is working now:
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Please don't double-post!
http://www.coderanch.com/t/538304/tools/Installation-Luntbuild


JBoss In Action
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Need Help With Batch File Scripting Language to Straighten Out PATH Problem in Windows Environment