Is there a way in C # (possibly interop) to delete a specific file in the recycle bin permanently?
While searching the Internet, I only found ways to delete to the trash, not FROM. I also do not want to clear the entire container, only one specific file. A specific item is already in the basket.
How can i do this?
EDIT:
- I did not put the file there myself, nor my program. Someone else did it, I do not control it.
- Windows search can somehow find my file ...?!?
I found out one more thing: I really can find the file in C: \ RECYCLER with the same extension, but with a different name. So how can I determine if this is the file I'm looking for?
source
share