在Bat文件中查找jar包,动态设置Classpath
@echo off setLocal EnableDelayedExpansion set CLASSPATH=" for /R ../lib %%a in (*.jar) do ( set CLASSPATH=!CLASSPATH!; %%a ) set CLASSPATH=!CLASSPATH!" echo !CLASSPATH! java com.hmg.uims.server.MinaServer pause
【在Bat文件中查找jar包,动态设置Classpath】转载于:https://www.cnblogs.com/zhuziyu/p/9007705.html