Define the file name to categorize

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
YannG

Define the file name to categorize

Post by YannG »

Hi,

My photos are located in folders and subfolders under the following path :

"C:\Documents and Settings\All Users\Documents\02 Image partagée".

I would want to keep the Directory name in the file name, so i use, for example : yann # <Directory>.jpg

But the renamming is too long and it does not work because there are the characters "\". The result should be : "yann 1 C:\Documents and Settings\All Users\Documents\02 Image partagée\...".

Do you know :

- how can i workaround the "\" character?
- how can i substitute "C:\Documents and Settings\All Users\Documents\02 Image partagée" to something shorter?

Thanks by advance for your responses.

YannG
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Define the file name to categorize

Post by xnview »

YannG wrote:Hi,

My photos are located in folders and subfolders under the following path :

"C:\Documents and Settings\All Users\Documents\02 Image partagée".

I would want to keep the Directory name in the file name, so i use, for example : yann # <Directory>.jpg

But the renamming is too long and it does not work because there are the characters "". The result should be : "yann 1 C:\Documents and Settings\All Users\Documents\02 Image partagée\...".

Do you know :

- how can i workaround the "" character?
- how can i substitute "C:\Documents and Settings\All Users\Documents\02 Image partagée" to something shorter?

Thanks by advance for your responses.

YannG
You can perhaps <Folder name> in batch rename...
Pierre.
YannG

Renamming a file

Post by YannG »

Hi,

Thanks for your response but it does not respond exactly to my issue

I would want to have more detailed in the file. For example the folder is : Holidays\Twice\Venice 2005\ file.jpg

So i would want to have something like that : yann 1 holidays Venice 2005.

Is it possible?

How can i do that?

Thanks,

YannG
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Renamming a file

Post by xnview »

YannG wrote:Hi,

Thanks for your response but it does not respond exactly to my issue

I would want to have more detailed in the file. For example the folder is : Holidays\Twice\Venice 2005\ file.jpg

So i would want to have something like that : yann 1 holidays Venice 2005.

Is it possible?

How can i do that?
Sorry currently not possible, but if you have "C:\Documents and Settings\All Users\Documents\Holidays\Twice\Venice 2005\ file.jpg", you want something like that too "yann 1 holidays Venice 2005" ??
Pierre.
YannG

Define the file name to categorize

Post by YannG »

Thanks for your response.

Initially, what i am searching is :

- how can i workaround the "\" character?
- how can i substitute "C:\Documents and Settings\All Users\Documents\02 Image partagée" to something shorter?

Do you see my questions ?

YannG
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Define the file name to categorize

Post by xnview »

YannG wrote:Thanks for your response.

Initially, what i am searching is :

- how can i workaround the "" character?
- how can i substitute "C:\Documents and Settings\All Users\Documents\02 Image partagée" to something shorter?

Do you see my questions ?

YannG
When you use <Directory>, '\' is replaced by '-', and you can use Replace field
Pierre.
YannG

Define the file name to categorize

Post by YannG »

Thanks for your response.

YannG
Post Reply