#1 : 17/11-19 21:17
Hoping someone else can see why I'm getting two responses from the same "Replace Instructions". I'm attempting to replace folder contents using the name of the directory the files are in. All the contents have unique extensions.
Text to Replace: <Name>
Replace With: <DirName>
Out of a test of 7 files, 4 are working and 3 are not.
- Can't figure out why some are not.
Filename: Bart (201906)
Directory: Bart (2019)
Result: Bart (201906)
I don't think the problem is with DirName. If I change the replacement text with something other than <Name>, I can get a change with the Resulting filename. The problem could be the handling of the parentheses in the original filename. It seems the files that do convert, don't have existing parentheses in the filename.
If there's some way I can upload a screenshot, I will. If there's any additional information needed, please let me know...
17/11-19 21:17 - edited 17/11-19 21:27
#2 : 17/11-19 22:30
It's not obvious exactly what you are trying to do.
If you simply want to rename every file in each folder to the name of the containing folder then just use the New Name method with New Name: <DirName> and apply to Name only.