Multi rename tool: how create subfoder structure?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
giulia
Senior Member
Senior Member
Posts: 336
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Multi rename tool: how create subfoder structure?

Post by *giulia »

Hi

can i reanme files and create a folder structure

for example i want to rename test.txt
i tried to use the \ but it doesn't work

rename test.txt for name to C:\job\home\test.txt?

and a secon question

can i use the rename pluing to create subfoder like
C:\x\y\test.txt

thanks
mentat
Junior Member
Junior Member
Posts: 4
Joined: 2013-10-16, 02:07 UTC

Post by *mentat »

You can rename including a folder structure using the multi rename dialog (Ctrl+M)
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

giulia, TC is able to create missing directories since 8.01. But it always appends resulting name to file path, so you can't move files to another drive, and you can't directly move files to a directory that is outside file's directory.

However you can move files to any directory within same volume, you need to add prefix ..\..\..\..\..\..\..\..\ (repeat ..\ enough times to go to root, one item moves one level up), then you can use parts of current path using [=tc.Path] field, and then you can remove starting part of path using search and replace MRT section.

So, if you rename two files, C:\old\test.txt and C:\old\bin\test.exe, and you want to move them to C:\job\home, you need to use name ..\job\home\[=tc.Path][N] (single ..\ is enough in this case) and type C.\old\ in search field and \ in replace field (you may look at displayed result and correct search and replace strings).
Post Reply