1.9.5: XnViewMP doesn't open a passed folder if it has a trailing backslash and quotes

*** Please report new bugs here! ***

Moderators: helmut, xnview, Dreamer

Post Reply
Infi220
Posts: 22
Joined: Thu Nov 05, 2015 8:07 am

1.9.5: XnViewMP doesn't open a passed folder if it has a trailing backslash and quotes

Post by Infi220 »

XnView: MP 1.9.5 - 64 bit
OS: Windows 64bit

Passing a folder is not working if it's in the following format: "C:\Some folder\"

Effect: "File not found!" error shown

To reproduce:
1. Run xnviewmp.exe from a command line and pass a valid folder as a parameter that ends with a backslash and has quotes around it, e.g.
xnviewmp.exe "C:\Some folder with spaces and a trailing backslash\"

Actual: XnViewMP shows an error "File not found!"
Expected: XnViewMP opens the folder

Additional notes:
- If I pass a folder without a trailing backslash, it works.
- If I pass a folder with a trailing backslash but without quotes, it also works.
Post Reply