Is there a command line program that can send files to the recycle bin? This is on XP and Vista.
|
CmdUtils has a utility called Recycle that does exactly that. More info here:
|
||||
|
|
|
If you have powershell installed:
|
|||
|
I've had this question for a long time -- I finally took the matters into my own hand and I rolled my own utility cmd-recycle I took a look at |
||||
|
|
|
In XP, you could try moving the file to one the following paths (took these from an MSDN thread)
Using the Edit: Removed some of the paths because of another post in said thread. You'll need to find these out yourself if you want to do it that way. |
|||||
|
|
There is no built-in way to do this, but there are third-party tools that can. I checked my program-dump folder and found a few options. They all work the same (e.g.,
|
|||
|
|
delpermanently deletes it, not moves it to the recycle bin. – MiffTheFox Aug 18 '09 at 17:02forloop from the command-prompt to send them to the bin, then I could see them all consolidated in one place to make sure that only the files I wanted to delete were in there and restore any incorrect files. – Synetech Oct 3 '12 at 0:32