Bug with folders in CLI (Command Line Interface)

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Bug with folders in CLI (Command Line Interface)

Post by m.Th. »

In CLI XnView MP does not support folders with spaces.

Steps:

1. Make a folder named "Folder 1" (with spaces) in C:
2. Go to command line and write

Code: Select all

xnview "C:\Folder 1\"
Expected:

XnView should open the Folder 1 in browser.

Actual:

A "File Not Found!" message appears.

Notes:

The code works for folders without spaces. IOW if it would be Folder1 and the command line would be xnview c:\folder1 then it would work.

Pierre, please support embedding the folder paths in quotes.

For the files it works ok.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Bug with folders in CLI (Command Line Interface)

Post by xnview »

See Issue 318 for current status and details.
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Bug with folders in CLI (Command Line Interface)

Post by helmut »

Works fine for me in v0.84. With "c.\programme\xnviewmp.exe" "c:\folder 1" or "c.\programme\xnviewmp.exe" "c:\folder 1\" XnView starts and opens folder 1.

:arrow: Closed. Please post here in case the problem should still occur.
Post Reply