Code to delete the directory
@Sweety_Girl - Can you please check below
I need a invoke code to delete the directory
Hi @Sweety_Girl
If you know the path of directory Then You can Use Delete Activity. you just have to provide the path to activity.
If you want to delete the entire folder, use this @Sweety_Girl
directory.Delete(“”)
@Sweety_Girl
you want to delete Directory using Invoke Code then Provide Target Type as System.IO.Directory.Delete and Method Name as Delete and give the Folder Path in the collection Parameter.
Delete activity also deletes the entire folder right?
Yes you need to provide path of the directory.
Yes, that Directory.Delete deletes the entire folder path which you gave in the property @Sweety_Girl
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.