summaryrefslogtreecommitdiff
path: root/cpappend.bat
blob: 9f606aae054f35f76b18b3e9717b8f94785a268b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rem ---------------------------------------------------------------------------
rem Append to CLASSPATH
rem
rem $Id$
rem ---------------------------------------------------------------------------

rem Process the first argument
if ""%1"" == """" goto end
set LOCALCLASSPATH=%LOCALCLASSPATH%;%1
shift

rem Process the remaining arguments
:setArgs
if ""%1"" == """" goto doneSetArgs
set LOCALCLASSPATH=%LOCALCLASSPATH% %1
shift
goto setArgs
:doneSetArgs
:end