{Folder name[~ ~-]}-# not working

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: xnview, Dreamer

KoolPal
Posts: 8
Joined: Thu Mar 20, 2025 9:15 am

{Folder name[~ ~-]}-# not working

Post by KoolPal »

Hi,

Perhaps I am unable to get this right - so please bear with me

I am using XnConvert Portable Version 1.106.0 - windows x64 (Oct 12 2025) - Libformat version 7.228

I am trying to get output as {Folder name[~ ~-]}-# - meaning - replace space with hyphen for naming the output files

I checked
You can replace a word by another by using [~xxx~xxx]

eg.

• {Filename [~img~out]} => out_example_105
from viewtopic.php?t=48554

as well as tried to understand from viewtopic.php?t=47074

What I see - example
Folder name = Downloaded Photos

If I use just {Folder name}-# - I get
Downloaded Photos-1.jpg
Downloaded Photos-2.jpg

If I change it to
{Folder name [~ ~-]}-# - I get
-1.jpg
-2.jpg

What am I doing wrong here?

Is there any other way to get folder and replace space with hyphen using

Please guide.

Thanks a lot.
User avatar
xnview
Author of XnView
Posts: 47584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: {Folder name[~ ~-]}-# not working

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 47584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: {Folder name[~ ~-]}-# not working

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.10.1. Please check and confirm the bug fix here.
Pierre.
KoolPal
Posts: 8
Joined: Thu Mar 20, 2025 9:15 am

Re: {Folder name[~ ~-]}-# not working

Post by KoolPal »

xnview wrote: Tue Feb 24, 2026 8:42 am This problem is supposed to be fixed in XnView MP 1.10.1. Please check and confirm the bug fix here.
Hi.

Thanks. Would you kindly update XnConvert with this fix too? We use only XnConvert as that is all that is required for occassional use.

Thanks again!
User avatar
xnview
Author of XnView
Posts: 47584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: {Folder name[~ ~-]}-# not working

Post by xnview »

yes soon
Pierre.
KoolPal
Posts: 8
Joined: Thu Mar 20, 2025 9:15 am

Re: {Folder name[~ ~-]}-# not working

Post by KoolPal »

Thanks a lot.

We will await that fix in XnConvert as we don't use XnView MP - it is an overkill for our needs.

Really appreciate your good work! Best wishes!