File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Help with dos batch script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Help with dos batch script" Watch "Help with dos batch script" New topic
Author

Help with dos batch script

Martin Lira
Ranch Hand

Joined: May 26, 2004
Posts: 97
Guys,
I have a batch script that invokes a java application. I get this error and dont seem to understand its cause.


My batch file looks like this:


I think theres some problem because there's a space between the "Program Files"

Any help is appreciated.

Martin
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

A quoted blank should work.
alternative

but perpaps your com.mypackage.JavaApplication isn't found.
If in your current working dir (C:\sample\dir)

or


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with dos batch script
 
Similar Threads
JAVA_HOME variable is not working properly in bat file
JAVA_HOME variable in batch file is not working properly
JAVA_HOME variable is not working correctrly in batch file.
Tomcat Not Starting with startup.bat
Tomcat Not Starting with startup.bat