Try it without the equals sign:

SET CLASSPATH %CLASSPATH%;....

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 8:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: 1001 question aboit Command Line Interface


I tried this, but - for which reason ever - only the last "set" line is
really changing the classpath.
Do have any ideas why?

Robert
----- Original Message -----
From: "Bertrand Delacretaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 12:57 PM
Subject: Re: 1001 question aboit Command Line Interface


> Robert Sösemann wrote:
>  >. . .
> > Because it is a really long classpath I mad a .bat. Running it I 
get an
> > error that the line is too long.
>
> If it is really a "line too long" problem and not and "out of
> environment space" problem, you might want to try to setup the 
classpath
> in several steps:
>
>    set CLASSPATH=%CLASSPATH%;.\someDir\someJar.jar
>    set CLASSPATH=%CLASSPATH%;.\someDir\someOtherJar.jar
> ...
>
>  >. . .
> > Is there a way to set the classpath
> > directory-wise and not include each .jar?
>
> I don't think so.
>
>
> --
>   Bertrand Delacretaz (codeconsult.ch, jfor.org)
>
>   buzzwords: XML, java, XSLT, Cocoon, FOP, mentoring/teaching/coding.
>   blogspace http://www.codeconsult.ch/bertrand
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to