我想了解这段代码的工作原理
@echo off
set TMP_CLASSPATH=%CLASSPATH%
cd c:\WorkDir
set CLASSPATH=C:\WorkDir\mayapps.jar
set CLASSPATH=%CLASSPATH%;C:\WorkDir\lib\others.jar
java -cp "%CLASSPATH%" Main2 -splash:mysplash.gif -Dlog4j.configuration=myapp.log4j mymainclass -param1=xxx -param2 etc