pjass %VER%\common.j Scripts\%VER%\common.ai
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
pjass %VER%\common.j Scripts\%VER%\common.ai Scripts\%VER%\undead.ai
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
jassparser %VER%\common.j Scripts\%VER%\common.ai Scripts\%VER%\undead.ai
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
pjass %VER%\common.j Scripts\%VER%\Blizzard.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
jassparser %VER%\common.j Scripts\%VER%\Blizzard.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
pjass %VER%\common.j Scripts\%VER%\Blizzard_VSAI.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
jassparser %VER%\common.j Scripts\%VER%\Blizzard_VSAI.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
if "%RESULTFWCOMPAT%"=="1" (
ECHO Apply forwards compatability %VER% scripts error
exit /b %RESULTFWCOMPAT%
) else (
https://github.com/SMUnlimited/AMAI/blob/64da1a16e678072e39034b1e2fdba79ca66940c5/ForwardsCompat.bat#L82