Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88835

Kill selected file(s) in Recycle Bin

$
0
0

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.


Viewing all articles
Browse latest Browse all 88835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>