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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search for File (server side)

Status
Not open for further replies.

mdfi13

MIS
May 24, 2005
38
0
0
US
I am trying to search a directories (and sub directories) for a particular file name, and return the full path.

The search will be done on the server side, searching a network share or mapped drive. I need to return the entired (shared) path.

I am using asp and javascript.

Does anyone have examples of this?
 
You can do this by writing a recursive function that uses Scripting.FileSystemObject
 
Look into the FileExists method within the Scripting.FileSystemObject object. (hint: google it)

[monkey][snake] <.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top