::Hansen ::2012-02-22 ::Set ClassPath @echo off for %%i in ("lib/*.jar") do call :appendPath %%i goto pathOK :appendPath set CLASSPATH=%CLASSPATH%;lib/%1 goto :eof :pathOk @echo on
Learn and share.
::Hansen ::2012-02-22 ::Set ClassPath @echo off for %%i in ("lib/*.jar") do call :appendPath %%i goto pathOK :appendPath set CLASSPATH=%CLASSPATH%;lib/%1 goto :eof :pathOk @echo on