You can have two methods, choos the one you like...
1st Method
first get all the sub directories
Dim ArrDirectories() As String = Directory.GetDirectories("The Path Of Your Directory")
Dim i As Integer
loop through the directories and delete them including their sub items
For i = 0 To ArrDirectories.Length - 1
specifying a true would mean that you want to delete everything inside
Directory.Delete(ArrDirectories(i), True)
Next
then get the list of files in the directory
Dim ArrFiles() As String = Directory.GetDirectories("The Path Of Your Directory")
loop through the files and delete them
For i = 0 To ArrFiles.Length - 1
File.Delete(ArrFiles(i))
Next
now you have an empty directory...
2nd Method
Another alternative is that delete the whole directory with its sub folders and then create a new
one with the same name instead.
Dim Path As String = "The Path Of Your Directory"
delete the directory with everyhting inside it
Directory.Delete(Path, True)
Create a new one in its place
Directory.CreateDirectory(Path)
Hope this helps,