Filenames with % character

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

szhrmp

Filenames with % character

Post by szhrmp »

I need to convert some files which have a % character in it (e.g. 3Chinesen_Z%c3%bcrich.png). Nconvert tries to substitue the percentage character, is it possible to escape it?

Peter
User avatar
xnview
Author of XnView
Posts: 44926
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Filenames with % character

Post by xnview »

szhrmp wrote:I need to convert some files which have a % character in it (e.g. 3Chinesen_Z%c3%bcrich.png). Nconvert tries to substitue the percentage character, is it possible to escape it?
Could you try %%?
Pierre.
szhrmp

% filenames

Post by szhrmp »

%% wont work, what happens that nconvert replaces each % with the original file name.

the %% is only required if you put the command in a bat file (which I don't do)
User avatar
xnview
Author of XnView
Posts: 44926
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: % filenames

Post by xnview »

szhrmp wrote:%% wont work, what happens that nconvert replaces each % with the original file name.

the %% is only required if you put the command in a bat file (which I don't do)
Right, so i'll fix it
Pierre.