对不起,我是这个东西的新手。我想以特定顺序运行具有不同参数的相同 bat 文件。我写了一个非常简单的批处理文件:
@echo off
REM Note: to see all command line usage options, run bsearch_headless.bat without any arguments.
call behaviorsearch_headless.bat -p test_behaviorsearch.bsearch -o pippo
ECHO
IF EXIST pippo.finalBests.csv (call behaviorsearch_headless.bat -p test_behaviorsearch.bsearch -o topolino)
else goto :eof
:eof
ECHO Simulatione End!
PAUSE
Run Code Online (Sandbox Code Playgroud)
它不起作用,因为else不被识别。
非常感谢您的帮助!