- December 14, 2014
- 775
- 387
- Home Country
- Germany
Directory.DeleteDirectory() has an optional bool Parameter named "recursive" I think. It will delete also non empty directories recursively.Actually, it does not transverse the sub-folders on DVD's
f:\MPMovies\We Bought a Zoo\VIDEO_TS\ All the video and other files for this DVD
View attachment 181645
Yeah the default behaviour in c# is to throw an exception if you try and delete a folder that's not empty, I expect that the default method is being used.
Took me years to see this Parameter.