Click to See Complete Forum and Search --> : Deleting multple files


April 7th, 1999, 07:07 PM
Hi. Does anyone know any easy way in MFC to delete multiple files in a directory at one time. CFile.Remove() will only remove one file at a time and we have alot. Thank you.

April 7th, 1999, 09:21 PM
Hi..Use CFileFind with CFile class ,and you'll solve the problem.
You can make a list of files in your directory very easily.Then you
can delete all the file.