Look at the lcp.bat that comes with Ant.
-----Original Message----- From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]] Sent: 15 January, 2003 13:57 To: [EMAIL PROTECTED] 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]> ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. ______________________________________________ --------------------------------------------------------------------- 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]>