CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    88

    regarding searching files

    I need to delete files of the names entered by the user? how can i do so??i think i need to search first all the files in all directories recursively and then delete them??can some one tell some clue to go about it??

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: regarding searching files

    That sounds dangerous. There's info in the faq about how to search directories for files but I'd give serious consideration to whether you want to randomly delete files without a fully qualified path.

  3. #3
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: regarding searching files

    I need to delete files of the names entered by the user?
    I don't know ??

    how can i do so??
    with the _unlink command is a possibility.

    i think i need to search first all the files in all directories recursively and then delete them??
    If that is what you want, sure you can do that.

    can some one tell some clue to go about it??
    About what ? I see a lot of question marks but no question.

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