Computer Science Canada Searching for files on computer? |
Author: | Silent Avenger [ Thu Dec 14, 2006 7:36 pm ] |
Post subject: | 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. |
Author: | Brightguy [ Wed Jan 10, 2007 1:56 am ] |
Post subject: | Re: Searching for files on computer? |
You're looking for WinAPI functions like FindFirstFile and FindNextFile. Alternatively you can try using a FileSystemObject. |