Empty recycle bin for all users on Windows

Before I worked at a Linux only company, but since I changed job I’ve been working some with Windows servers. Something that got me frustrated last night was that somebody had put large files in the recycle bin but not emptied it. This made the server almost run out of space, so after a bit googling I found out that you actually can empty the recycle bin for all users.

This is a easy way to do this:

rd /s c:\$Recycle.Bin
rd /s c:\recycler

If you have multiple drives just change c:\ accordingly. And of course, answer yes (y) to the question that pops up.

A big thanks to the lifehacker blog for posting this.

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.