patrickl 02/02/12 21:57:08 Modified: catalina/src/bin cpappend.bat Log: Add support for spaces in path names Revision Changes Path 1.5 +18 -0 jakarta-tomcat-4.0/catalina/src/bin/cpappend.bat Index: cpappend.bat =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/cpappend.bat,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- cpappend.bat 12 Feb 2002 23:51:21 -0000 1.4 +++ cpappend.bat 13 Feb 2002 05:57:08 -0000 1.5 @@ -1 +1,19 @@ +rem --------------------------------------------------------------------------- +rem Append to CLASSPATH +rem +rem $Id: cpappend.bat,v 1.5 2002/02/13 05:57:08 patrickl Exp $ +rem --------------------------------------------------------------------------- + +rem Process the first argument +if ""%1"" == """" goto end set CLASSPATH=%CLASSPATH%;%1 +shift + +rem Process the remaining arguments +:setArgs +if ""%1"" == """" goto doneSetArgs +set CLASSPATH=%CLASSPATH% %1 +shift +goto setArgs +:doneSetArgs +:end
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>