Home > DeveloperSection > Forums > How to programatically clear the recycle bin under Windows?
jacob rasel
jacob rasel

Total Post:88

Posted on    November-14-2013 1:07 AM

 C# C# 

 1 Reply(s)
 985  View(s)
Rate this:
I' m developing a window application and I have a option to clear th recycle bin of windows on button click .How to achieve this?

Pravesh Singh

Total Post:412

Posted on    November-14-2013 1:13 AM

Hi jacob,

You can use SHEmptyRecycleBin() function from shell32.dll library.

Don't want to miss updates? Please click the below button!

Follow MindStick