问题描述
- 跑批文件执行异常,页面闪退,显示输入行太长
-
@rem "=批量="@if "%DEBUG%" == "" @echo off
@if "%JAVA_HOME%" == "" go JAVAHOME
set CMSLIB=C:batchlib
set classpath=C:batchlib;C:batchclasses
set CLASSPATH==%classpath%;c:batchliblbms-pm.jarFOR %%I IN ("%CMSLIB%*.jar") DO CALL "C:batchbinsetClassPath.bat" %CMSLIB%%%~xnI
:EXECUTE
"D:Program FilesJavajdk1.6.0_43binjava" -Xms128m -Xmx1024m -Dfile.encoding=GBK -classpath "%CLASSPATH%" com.cvicse.cmis.pm.batch.BatchMain
goto END:JAVAHOME
echo "无法运行!请先设置java_home环境变量。。。"
goto END:END
echo "程序退出"
pause
时间: 2024-12-20 09:23:40