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

Total Post:88

Points:616
Posted on    November-14-2013 1:07 AM

 C# C# 
Ratings:


 1 Reply(s)
 723  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:411

Points:2881
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