How can i delete a folder

can any one tell me how to delete a entire folder

@Tharusha_Fernando

Use Invoke Code and write as below

My.Computer.FileSystem.DeleteDirectory("your folder to delete", FileIO.DeleteDirectoryOption.DeleteAllContents)

Hope this helps you

Thanks

2 Likes

Hi mate,

Can you share a Sample xaml file which describes how to delete folder.

@Sahil_Garg1

Hello, check below the workflow
DeleteFolder.zip (2.0 KB)

Hope this helps you

Thanks

2 Likes

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