I have a requirement where I need to check a folder if not create it
I am new to this can anyone explain me
I have a requirement where I need to check a folder if not create it
I am new to this can anyone explain me
Hi @Darren_Shaw
Welcome to community
so to achieve these we have activities avaialble in uipath
so in activities check for an activity called path exist kindly use that
so the output of that will be a boolean value, if result is false use create folder activity to create new one
hope this helps
Folder_Check.zip (1.3 KB)
Its just a 2 step activity , let me know if you are stuck @Darren_Shaw
Hi @Darren_Shaw,
There is an activity called Path Exists activity to find whether a Folder/File exists or not.
Alternatively, you can use this line of script to check if the Directory exists:
Directory.Exists(FolderPathGoesHere)
Kind Regards,
Ashwin A.K
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.