I am writing a win32app in C++ and I want to be able to delete a folder which will have many sub folders (with one txt file in each folder) at the clcik of a button. How would I go about doing so? I know how to delete a folder with nothing in it...but I do not know how to delete a folder with subfolders and files in it.

any suggestions?

thanx in advance,
Boomba