Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search Network for File

Status
Not open for further replies.

Terabithia

Programmer
Aug 31, 2004
70
US
Using VB6, how do I search the entire network looking for a specific file, and build a list of hits? If the search could be optionally limited to servers, that would help.

I already have code to search a specific drive.

TIA
 
Using File Scripting you can read the folders of any computer on the network, as long as you have permissions.
Put the file names into a string
Then search that string for the name of the file and add to a list if found.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top