diff options
Diffstat (limited to 'cpappend.bat')
-rw-r--r-- | cpappend.bat | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cpappend.bat b/cpappend.bat new file mode 100644 index 0000000..9f606aa --- /dev/null +++ b/cpappend.bat @@ -0,0 +1,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 |