我正在尝试从 Bat 文件运行 exe。该错误是弹出Init Error Genre Unknown。 游戏自行运行良好。但是想用一个bat文件。/这是什么原因造成的?我已经花了 3 天时间,但对 Google yahoo Dogpile 甚至 webferret 上的 Init 错误类型未知一无所知我确实检查了所有注册表站点以确保我的设置对于 Bat 文件是正确的。
@echo off
START "" "C:\01Game\1aedit\1aedit.exe" "-i"
rem start /wait C:\01Game\1aedit\1aedit.exe
pause
if not errorlevel 0 goto :ERR1
goto :STEP2
:STEP2
START "" "..\2atop\2atop.exe" "-i"
rem start /wait C:\01Game\2atop\2atop.exe
pause
if not errorlevel 0 goto :ERR2
goto :ALLOK
:ERR1
echo **** Warning: file1 did not work properly! ****
echo.
echo Press any key to terminate job ...
pause>nul
goto :END
:ERR2
echo **** Warning: file2 did not work properly! ****
echo.
echo Press any key to terminate job ...
pause>nul
goto :END
:ALLOK
echo ****** Job completed successfully *****
echo.
goto :END
:END
EXIT /B