aspose file tools
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
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: 5850
    
    7

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


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help With Batch File Scripting Language to Straighten Out PATH Problem in Windows Environment