Check if dynamic folder exists and create a subfolder inside using its path

I’m checking to create a folder with the current year then inside I want to create a folder with the current month. But I don’t know how to point to the dynamic path of the previous activity.
I’m using Path Exists:
Path.Combine(“Folder Path”, Now.ToString(“yyyy”))
then “If” activity to Create Folder.
How do I create the subfolder inside that path?

@daqc - please check this…

1 Like

Ok works fantastic. What if I wanted to add the day to the month or also make another subfolder of the day inside the month folder?

@daqc - Here you go…

1 Like

Ok thanks a lot, I’ll use that in the future.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.