Directory c:\\test has 50 or so files in it, no subdirectories.
If IO.Directory.Exists(\"C:\\test\") Then IO.Directory.Delete(\"C:\\test\", True)
If that's really the application code, note that you are really trying to delete the directory named "est"!
Escape your path to be "c:\test" or use the @ operator @"c:\test".