Move things to recycle bin from command prompt

  • Thread starter Thread starter py
  • Start date Start date
P

py

How can I move a file to the recycle bin via the command prompt? is
there a script I can write or get?

I am using win xp pro.

Thanks
 
Type this in a command prompt del /? hit Enter and read the info.

Type this in a command prompt move /? hit Enter and read the info.


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
The "del" command will delete files permanently. It won't move
them into the recycle bin as per the OP's question. As a work-
around, the "move" command could be used to move files
into the Recycle folder but this would not provide the functionality
of the Windows Recycle Bin. Is there a command that provides
this functionality?
 
move C:\Hello.vbs C:\RECYCLER\S-1-5-21-1708537768-1580436667-1202660629-1003
just deleted Hello.vbs. Did not go to
C:\RECYCLER\S-1-5-21-1708537768-1580436667-1202660629-1003, did not pass Go
did not collect $200. ;-(

move C:\Hello.vbs C:\RECYCLER moved Hello.vbs to C:\RECYCLER, did not show
up in the Recycle Bin. ;-(

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top