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

Script to enumerate a disk contnets to search for a file.

Status
Not open for further replies.

mantleg

Programmer
Joined
Aug 8, 2003
Messages
4
Location
GB
Has anyone got a script that will search a partition for a file with a particular extension and echo its name to the screen if it finds one?
 
Take a look at the FileSystem object.
You can also do a keyword search in this forum as this topic has been very often treated.

Hope This Help
PH.
 
I have found its far easier and more efficient to Shell "dir /s *name*". Redirect it (">tmpfile") and read back in if required.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top