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!

System.IO.File.Delete

Status
Not open for further replies.

wsmall73

Programmer
May 23, 2002
261
US
does anyone know if you can use wildcards or have used wildcards successfully with System.IO.File.Delete?
what I am trying to avoid is having to code for every possible scenario .pdf,.xls,.doc, .ppt etc.... I just want to delete all documents with a particular name....regardless of the extension.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top