http://bugs.winehq.org/show_bug.cgi?id=19074
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-25 23:19:55 --- (In reply to comment #4)
We could use window's message: C:\Documents and Settings\austin>foobar 'foobar' is not recognized as an internal or external command, operable program or batch file.
This is what cmd.exe reports. cmd.exe in Wine reports "File not found", and that's a different problem.