HomeThe Classics

How To Clean Files From A Specific Drive From Windows Recycle Bin

Published:

I was frantically redesigning my website yet again and like the previous times, I decided to nuke what I had worked on. This included the many files I had deleted as I was consolidating work from my previous attempts at a personal website which piled up in my Recycle Bin. I wish I could apply a filter to pick the files I wanted based on a pattern, but that isn’t possible. Thankfully I set up a Dev Drive which lets me delete files from a specific drive with the Clear-RecycleBin command like so:

Clear-RecycleBin -DriveLetter X