http://bugs.winehq.org/show_bug.cgi?id=9849
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-23 23:38:25 --- (In reply to comment #3)
It's been a while, not sure how I tested. But that errorlevel check syntax you used might be wrong, see http://www.robvanderwoude.com/errorlevel.html I think you need to leave out the ==.
It works same way both ways, with and without '=='.