20 lines
506 B
Batchfile
20 lines
506 B
Batchfile
rem ---------------------------------------------------------------------------
|
|
rem Append to CLASSPATH
|
|
rem
|
|
rem $Id: cpappend.bat 467182 2006-10-23 23:47:06Z markt $
|
|
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
|