I am building a purging tool that lists and destroys (using Kill) any files in certain locations on a user's PC. My tool works well in all locations except for Recycle Bin (C:\$Recycle.Bin).
I am getting the following error:
Run-time error '75': Path/File access error
How can I manage to circumvent this error to delete/kill the file in Recycle Bin? I don't want to empty the whole Recycle Bin. I want to remove selected files.