Searching for files on computer?
Author |
Message |
Silent Avenger
![](http://compsci.ca/v3/uploads/user_avatars/15799977747577a0b762ca.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Brightguy
![](http://compsci.ca/v3/uploads/user_avatars/527435178485ad4c287538.gif)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
|
|