Page 1 of 1

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

Posted: Tue Sep 09, 2025 9:53 am
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.

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

Posted: Tue Sep 09, 2025 11:56 am
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.

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

Posted: Fri Sep 12, 2025 11:41 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.