I was hoping that Parent Folder would only give me the name of the exact parent folder. For example, if I have a folder:
/Users/me/TargetFolder/file.txt
I was hoping that ParentFolder would give only TargetFolder. Instead it appears to give the entire path. Is there a way to just get the name of the immediate containing folder? I want to use it in rename actions for files in that folder.