一个用来运行其他文件并传递参数的命令
一个用来运行其他文件并传递参数的命令
@echo offset PROGRAM_EXE=D:\Production\sdfat.exeset ERROR=0title TITLE OF THE BATCH FILE - OPTIONAL%PROGRAM_EXE% %1 %2 %3IF %ERRORLEVEL% NEQ 0 SET ERROR=1:DoneIF %ERROR% NEQ 0 GOTO Errorecho Program ran without any errors.exit /b 0:Errorecho There was at least one error while running program.exit /b 1