HOW TO PROGRAMATICALLY CLEAR THE RECYCLE BIN UNDER WINDOWS?

jacob rasel

Total Post:88

Points:616
Posted by  jacob rasel
C# 
C#
 1008  View(s)
Ratings:
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?
  1. Pravesh Singh

    Post:412

    Points:2888
    Re: How to programatically clear the recycle bin under Windows?

    Hi jacob,


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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!