https://bugs.winehq.org/show_bug.cgi?id=45725 Bug ID: 45725 Summary: if exist fails if path has trailing slash Product: Wine Version: 3.0.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: paleozogt(a)gmail.com Distribution: --- Created attachment 62154 --> https://bugs.winehq.org/attachment.cgi?id=62154 example of if exist with/without slashes cmd's "if exist" fails if the path includes a trailing slash. For example, this
if exist "C:\Program Files (x86)" @echo without slash exists will print without slash exists
while this
if exist "C:\Program Files (x86)\" @echo with slash exists will print nothing.
On Windows 10's cmd, it will work for both cases. -- 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.