CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Deleting multple files

    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.


  2. #2
    Guest

    Re: Deleting multple files

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured