How to choose the current month folder

I have a main folder that contains many sub folders .

Example,
Inside C:\Documents\sample ,I have:

05 May(folder)
06 June(folder)
07 July (folder)

I want to choose 05 May as for now.
How to pick the folder of the current month?

@suchitra.nagarajan Do you want to read the Files present in the 05 May folder ?

I want to check if the folder for the current month exists.if yes,then i have to pick corresponding file inside that folder.

@suchitra.nagarajan I guess you can use Path Exists Activity with Path Type as Folder, and then pass the Path argument as below :
“C:\Documents\sample\”+Now.ToString(“MM MMM”)+"(folder)"

3 Likes

Ya.got that.Thanks so much.

1 Like

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