How to delete directories in a drive

Hi @kavyachenna,

1.variable ->strarrDirct (string)
2. Assign strarrDirct=System.IO.Directory.GetDirectories(“file path”)
3.using for loop you can get the Directories
4.using delete activity you can delete the folder.
Refer below Path(here we deleting the text file alone same way you need to do)

Regards,
Arivu

1 Like