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

Programatically empty recycle bin? 2

Status
Not open for further replies.

mmetze

Programmer
Oct 2, 2001
45
US
Is there a way to programatically empty the recyle bin?
 
I have never had to do it but i'm sure you could do it using the filesystemobject. try something like this

dim fso as filesystemobject

fso.DeleteFile("C:\Recycled\*.*") Mark

The key to immortality is to make a big impression in this life!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top