1.9.3 Batch convert - Output folder field allows folder name with trailing space
Posted: Tue Sep 09, 2025 9:53 am
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 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.
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
\\?\
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.