Hi, I am trying to understand how to make the foldername, and only the foldername, in a filepath dynamic.
I am building a workflow that each month reads a number of different input files from a single folder and summarizes these into a single output file in the same folder. The filenames are the same very month, but the folder name changes, eg:
Month 1 - Jan
Read:
C:\MyFolders\Jan_2023\File1
C:\MyFolders\Jan_2023\File2
C:\MyFolders\Jan_2023\File3
Write:
C:\MyFolders\Jan_2023\OutputFile1
Month 2 - Feb
Read:
C:\MyFolders\Feb_2023\File1
C:\MyFolders\Feb_2023\File2
C:\MyFolders\Feb_2023\File3
Write:
C:\MyFolders\Feb_2023\OutputFile1
What I want to be able to replace dynamically each month is the month name [Jan_2023, Feb_2023] only - the filenames should remain unchanged. I tried the File Browse tool, but this requires updating the full file name (I believe), so would not help.