DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Idea: Application that moves files to the Windows recycle bin  (Read 5,615 times)

MarcoPa

  • Supporting Member
  • Joined in 2022
  • **
  • Posts: 3
I am looking for an application that allows me to move files to the Windows recycle bin via the command line. Although this is possible with Powershell, it is a surprisingly cumbersome manoeuvre for simple PC users like me. Could a command line programme or alternatively an easily integrated script be created for this?

This is more of a general suggestion. With the help of AI, I was able to put together a script for my purposes without knowing exactly what it does. But I could imagine that some people would be happy to have a small, reliable tool with which they can do this task easily and reliably.

If this is out of scope, I apologise in advance. I can't estimate the effort involved.  :)

ProCompSys

  • Participant
  • Joined in 2023
  • *
  • Posts: 11
Re: Idea: Application that moves files to the Windows recycle bin
« Reply #1 on: August 29, 2025, 05:35 AM »
There already is such a thing:

https://sumtips.com/software/delete-files-to-recycle-bin-from-command-prompt-on-windows/


recycle.exe

license.txt
----------------------------------------------------------------------------------
Spoiler (click to show/hide)
Unrestricted License

Full copyright is retained by Frank P. Westlake but all entities,
persons, and other life forms are granted unrestricted usage, copying,
distribution, and coloring.

Frank P.Westlake
----------------------------------------------------------------------------------

reyna

  • Reyna
  • Participant
  • Joined in 2025
  • *
  • Posts: 2
Re: Idea: Application that moves files to the Windows recycle bin
« Reply #2 on: September 05, 2025, 10:15 AM »
You can use a small free tool like NirCmd – it lets you send files to the Recycle Bin from the command line.
e.g

nircmd.exe recyclebin myfile.txt

Original address: https://www.donationcoder.com/forum/index.php?topic=54941.0