Filenames with % character

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

Moderators: XnTriq, xnview

Post Reply
szhrmp

Filenames with % character

Post by szhrmp » Wed Sep 20, 2006 2:56 pm

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: 31272
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Filenames with % character

Post by xnview » Thu Sep 21, 2006 7:07 am

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 » Thu Sep 21, 2006 10:32 am

%% 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: 31272
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: % filenames

Post by xnview » Fri Sep 22, 2006 6:44 am

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.

Post Reply