rename files using full path

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mt11
Junior Member
Junior Member
Posts: 2
Joined: 2010-06-09, 09:00 UTC

rename files using full path

Post by *mt11 »

Is it possible to rename files to include the whole path name?

I have used parent [P] and grandparent [G] folder name, but I need to include the whole path - gran grandparents as well.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, you can use:

Code: Select all

[=tc.Path][N]
However, you need to replace the colon ":" and all backslashes "\" by something else, otherwise you will get a rename error. Example:

Code: Select all

Search for: :|\
Replace by: .|_
Replaces the colon by a dot, and the backslash by an underscore.
Author of Total Commander
https://www.ghisler.com
mt11
Junior Member
Junior Member
Posts: 2
Joined: 2010-06-09, 09:00 UTC

Post by *mt11 »

Thanx, it works great!!
Post Reply