19 lines
513 B
Batchfile
19 lines
513 B
Batchfile
rem ---------------------------------------------------------------------------
|
|
rem Append to CLASSPATH
|
|
rem
|
|
rem $Id: cpappend.bat,v 1.3 2005/05/17 16:50:45 aranganath 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
|