Windows: Delete to Recycle Bin from the command line

Update: Check out the new tool cmd-​recycle which is a lot more robust, writ­ten much more cleanly and just more cool!

I wrote this simple utiltiy some while ago, thought I might as well pub­lish it here.

Just copy recycle.exe to WINDOWS\system32 and you can start using

1
2
3
4
recycle <filename>
recycle <filename1> <filename2> <filename3> ...
recycle *
recycle <directory1> ...

Full source code included (using C#). Enjoy!

Down­load

0 Responses to “Windows: Delete to Recycle Bin from the command line”


  • No Comments

Leave a Reply




Bad Behavior has blocked 6 access attempts in the last 7 days.