http://bugs.winehq.org/show_bug.cgi?id=35970
Bug ID: 35970 Summary: Wine del returns 1 on error unlike on Windows Product: Wine Version: 1.7.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: b7.10110111@gmail.com
To reproduce, try the following in Windows (tested on XP) and in "wine cmd"/"windconsole cmd" (tested on wine-1.7.16-133-gd8ca8c2):
Windows XP: C:> del asdf Couldn't find C:\asdf C:> echo %ERRORLEVEL% 0
Wine:
C:>del asdf asdf: File Not Found C:>echo %ERRORLEVEL% 1
This is a potential incompatibility with applications which expect del to return 0 in this case.