1.9.3 Batch convert - Output folder field allows folder name with trailing space

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
tvcat
Posts: 1
Joined: Tue Sep 09, 2025 9:13 am

1.9.3 Batch convert - Output folder field allows folder name with trailing space

Post by tvcat »

XnView: MP 1.9.3 - 64 bit
OS: Windows 10/11 64bit

Folder name with trailing space is technically allowed on Windows, but the user cannot delete, copy, move or rename a folder that has a name with tailing space via the Windows Fire Explorer or the usual command in command prompt.

Not sure about other similar input field. I'm expecting XnView MP to run a check to the folder/file name before creating it.

The only way I know to delete a folder that has a name with tailing space is by adding

Code: Select all

\\?\
at the front of the full path of the folder in command prompt.

Effect:

To reproduce:
1. Select some image.
2. Open batch convert.
3. Select an output folder.
4. Edit the output folder field by adding a new folder name that has a trailing space.
Actual behaviour (bug): XNView MP created a folder name that has a trailing space.

Expected behaviour: XNview automatically remove the trailing space of the output folder name upon folder creation.
User avatar
michel038
XnThusiast
Posts: 1480
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: 1.9.3 Batch convert - Output folder field allowed folder name with trailling space.

Post by michel038 »

Now, I understand why some strange folders appeared in my photos when using XnViewMP...
To delete a file or a folder whose name is incorrect, you can also use it's short name shown with dir /X command.
User avatar
xnview
Author of XnView
Posts: 46631
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.3 Batch convert - Output folder field allows folder name with trailing space

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Post Reply