http://bugs.winehq.org/show_bug.cgi?id=22431 Summary: if exist "%VAR%"\file does not work Product: Wine Version: 1.1.42 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs(a)winehq.org ReportedBy: gabspeck(a)gmail.com The following logic fails on Wine's cmd, but works successfully on Windows', i.e. if you set the DLC variable pointing to a directory with a "version" file inside, it will still print "DLC variable not set" on Wine, but will print "OK" on Windows: set DLC=C:\dlc91e IF EXIST "%DLC%"\version GOTO :BIN echo "DLC Variable not set" :BIN echo "OK" The following works, though: IF EXIST "%DLC%\version" ... I found that on some administration scripts of a commercial application. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.