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

need help with a file cleanup script

Status
Not open for further replies.

freavis

MIS
Feb 5, 2002
19
0
0
US
I need to create a script that searches a specified directory and its subfolders and deletes files that match a list of defined strings. I'm not an experienced vbscript user yet, so any help I could get would be greatly appreciated. Here is the list of files the script needs to search and destroy. This is not for a virus. I,m using this a part of a company software cleanup.
lbi*
dbi*
srt*
procore*
core*
protrace*
*.par
*.rpt
*.pst
*.qry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top