FindFirstFile/FindNextFile

This is a discussion on FindFirstFile/FindNextFile within the C Programming forums, part of the General Programming Boards category; Could someone explain how the FindFirstFile/FindNextFile works and possibly post a sample code? I want to make an .exe that ...

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    5

    FindFirstFile/FindNextFile

    Could someone explain how the FindFirstFile/FindNextFile works and possibly post a sample code? I want to make an .exe that deletes all of the cookies and temp internet files. I've looked on posts on how to delete directories, but I just started with C so I didn't really understand them. The remove () function doesn't delete directories and it only deletes one file. So if anyone could help I would greatly appreciate it. Thanks.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Why don't you start with the MSDN entry?


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Then take a look at this faq.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21