在 Windows 中使用批处理文件运行命令行启动程序

以下是在 Windows 中使用批处理文件运行命令行启动程序的一个示例。

@echo off
java –jar calcmgrCmdLine.jar http://myBox:19000 admin password Sample Basic myRule var1=\"Jan\" var2=1000 var3="Budget->\"001\"->FY10"
IF %ERRORLEVEL%==0 goto success
echo there is error
goto end
:success
echo success
:end