Re: [AD] updated fix.bat to simplify MSVC target |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Matthew Leverton:
>> Earlier, someone said:
>> Hmm, shouldn't that be
>>
>> if errorlevel 1 goto nogcc
>> if errorlevel 1 goto helper_error
>>
> I tried that and it works as well.
> Perhaps the %ERRORLEVEL% is a NT/XP thing. I'll check into it and see
> which ones work on 98 to XP. (Probably the "if errorlevel" version.)
Yes, I tested this for the mdhelper.bat script. "if errorlevel" works on
Windows 98 SE and Windows XP. I does not work on FreeDOS, but neither does
your method. Of course, FreeDOS doesn't matter in this case.
--
Daniel Schlyder
http://bitblaze.com/