Hi there,
I can see there is a way to get the name of a folder N steps backwards but if you don't know how deep a folder structure can potentially be then it's hard to predict "N". Can anyone think of a way to grab the folder name of a second level folder?
Getting a folder name Root + 1 folder
Re: Getting a folder name Root + 1 folder
emcodem, wrapping since 2009 you got the rhyme?
Re: Getting a folder name Root + 1 folder
Hi kimble,
Starting from 1.3 FFAStrans supports the notation %s_recursed_path~-n% for getting the recursed path from the right side.
So if %s_original_path% = \\server\share\media\card1\clips\MXF and you're monitoring \\server\share
%s_recursed_path~-2% = card1
Hope this helps.
-steinar
EDIT: It's "path from the left side" of course!
Starting from 1.3 FFAStrans supports the notation %s_recursed_path~-n% for getting the recursed path from the right side.
So if %s_original_path% = \\server\share\media\card1\clips\MXF and you're monitoring \\server\share
%s_recursed_path~-2% = card1
Hope this helps.
-steinar
EDIT: It's "path from the left side" of course!
Re: Getting a folder name Root + 1 folder
This is great and is just what I needed, thank you. All working. Lovely program you have created.
Re: Getting a folder name Root + 1 folder
Thanks! Glad to help
-steinar
-steinar