How to delete directories in a drive

uiautomation
studio

#1

how to delete directories in a drive


#2

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


Read folder as Dynamic