
-----------------------------------
Silent Avenger
Thu Dec 14, 2006 7:36 pm

Searching for files on computer?
-----------------------------------
I'm making a program and I would like to add a feature that will search the computer's drives for files with a certain file extension such as *.dat, *.mp3, *.txt. I'm just wondering how I would get the ball rolling on how to do this. Thanks.

-----------------------------------
Brightguy
Wed Jan 10, 2007 1:56 am

Re: Searching for files on computer?
-----------------------------------
You're looking for WinAPI functions like [url=http://www.allapi.net/apilist/FindFirstFile.shtml]FindFirstFile and [url=http://www.allapi.net/apilist/FindNextFile.shtml]FindNextFile.  Alternatively you can try using a FileSystemObject.
