Delete Files
I have a folder, in which I don't know, how many subfolders and file reside. I just have to delete whatever is there within that folder.
Now if I programmatically find each and every contents and delete it step by step, does'nt seems to be a good idea.
Is there any short function which MFC provides to delete whatever is present within a folder in one go??
PS: Sorry I accidentally posted it here. I should have posted it in VC++/MFC Section. I don't know how to delete a thread
# 1 Re: Delete Files
I have a folder, in which I don't know, how many subfolders and file reside. I just have to delete whatever is there within that folder.
Now if I programmatically find each and every contents and delete it step by step, does'nt seems to be a good idea.
Is there any short function which MFC provides to delete whatever is present within a folder in one go??
# 6 Re: Delete Files
Now if I programmatically find each and every contents and delete it step by step, does'nt seems to be a good idea.Really? As for me, it's a very good idea. Especially in case you want to control any situation and provide detailed problem diagnostics to end user.
Is there any short function which MFC provides to delete whatever is present within a folder in one go??One more blind MFC worshipper... ;)