search a directory and all subdirectory for a file in windows

This is a discussion on search a directory and all subdirectory for a file in windows within the C++ Programming forums, part of the General Programming Boards category; I am writing a program for a windows PC and need part of the program to search a directory and ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Question search a directory and all subdirectory for a file in windows

    I am writing a program for a windows PC and need part of the program to search a directory and all
    sub directories. I've tried FindFirstfile and FindNextFile but they just search the currect directory and the "PATH". I need to search the complete directory. Is there a function to do this?

    Thanks

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    450
    wrong forum, there is a windows specific forum this thread will probably be moved

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Thumbs up

    Thanks for the information what I was looking for is on the other board..
    Last edited by bhorrobi; 09-27-2003 at 11:59 AM.

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