Windows 10: Command Prompt to delete to recycle bin

Discus and support Command Prompt to delete to recycle bin in Windows 10 Support to solve the problem; I've recently made some bat scripts to do some stuff with zip files, extract and sort/rename etc blah blah blah not important. As part of the cleanup I... Discussion in 'Windows 10 Support' started by mkr10001, Nov 21, 2018.

  1. mkr10001 Win User

    Command Prompt to delete to recycle bin


    I've recently made some bat scripts to do some stuff with zip files, extract and sort/rename etc blah blah blah not important. As part of the cleanup I have it delete the zip file once its extracted however something went wrong the other day and it turns out "del file.zip" just deletes it completely. Is there a way to send to recycle bin via command prompt so i can retrieve the file if something goes wrong??

    :)
     
    mkr10001, Nov 21, 2018
    #1

  2. why do my deleted favourites reappear after being placed in the recycle bin?

    Hi John,

    If files are stubbornly returning after deletion, it's possible that the recycle bin might be corrupted. To resolve the issue, we suggest that you fix corrupted recycle bin by following these steps:

    • Click on the Start menu and select Command Prompt (Admin).
    • Type the following command and press Enter: rd /s /q C:\$Recycle.bin
    • Type exit to close the Command Prompt window.

    Let us know how it turns out.
     
    Aileen Alf, Nov 21, 2018
    #2
  3. Jan Del Win User
    recycle bin

    Hi George,

    To prevent your files from being deleted from the Recycle Bin, we suggest increasing the maximum file size your Recycle Bin can keep by following the steps below:

    • Right click on the Recycle Bin icon.
    • Under the Settings for selected location, select Custom size.
    • Fill up the box for your allotted maximum file size for your Recycle Bin.
    Let us know if you need further assistance.
     
    Jan Del, Nov 21, 2018
    #3
  4. Broeux Win User

    Command Prompt to delete to recycle bin

    Windows 10 delete files in recycle bin from command prompt

    Thanks so much for your help. The here's how link seems to suggest several different ways to do it, a couple of which I'm pretty sure I tried without success. Which one(s) do you think work for W10? By the way, I have one hard drive, c:, and at cmd I see
    X: and c:, both of which I've tried to get to the recycle bin. I had originally wanted to view the recycle bin to look for files I didn't want to permanently delete but at this point I'm ready to just delete the bin, if Windows replaces it.

    Thanks again for your help.
     
    Broeux, Nov 21, 2018
    #4
Thema:

Command Prompt to delete to recycle bin

Loading...
  1. Command Prompt to delete to recycle bin - Similar Threads - Command Prompt delete

  2. Recycle Bin

    in Windows 10 Customization
    Recycle Bin: Deleted files will not go into the recycle bin in Windows 10, all "Permanently" delete When I delete files they are being permanently deleted instead of going directly to my recycle bin. My recycle bin is empty - I'm unsure how long this has been going on and wondered...
  3. recycle bin and deleting certain files

    in Windows 10 Software and Apps
    recycle bin and deleting certain files: I like to keep my deleted files for a month or so before I delete entirely. Since I've had W10, I've found the Recycle Bin does not work properly. I've worked around it but I'm sick of it and would like the damn thing to work as it should. At the beginning of every month,...
  4. recycle bin

    in Windows 10 Network and Sharing
    recycle bin: I have troubles with my recycle bin. On starting Windows, I receive message "The recycle bin is sorrupted. Empty it". If I access the bin, it cannot be emptied. Or, alternatively, when the above cited message appears, the system becomes frozen and I must forcefully shut down...
  5. recycle bin

    in Windows 10 Network and Sharing
    recycle bin: I received warning from the sytem that my recycle bin was corrupted and that i shoult empty it. When I tried to do so, some 20 files resisted deleting. How could I fix this error of the recycle bin?...
  6. recycle bin

    in Windows 10 Customization
    recycle bin: I have windows 10. I can't get the recycle bin icon to show on my desktop. Don't tell me to go to the desktop icon setting because it won't work. I've tried several times. I wish Microsoft would stop updating and changing things that don't need changing....
  7. Recycle Bin

    in Windows 10 Customization
    Recycle Bin: I dragged a large Zip File over the Recycle Bin to delete it. It did not vanish into the Bin, instead the Recycle Bin vanished! Dragging the Zip File away left a blank space. I checked, via Settings, to see if the box for Show Recycle Bin was checked, and it still is....
  8. Everything deleted is not going to the recycle bin.

    in Windows 10 Performance & Maintenance
    Everything deleted is not going to the recycle bin.: To have full permission on the computer I let myself as local disk C owner , (was previously the Trusted Installer). Now when I delete something it does not go to the recycle bin, it is deleted permanently. Is there any way to make him go the recycle bin without changing the...
  9. Can't delete item in recycle bin.

    in Windows 10 Support
    Can't delete item in recycle bin.: What is this? How to fix? Long green progress bar that never finishes in explorer. [img] 21150
  10. Recycle Bin?

    in Windows 10 Support
    Recycle Bin?: Here's something funny that just popped into my head. I was looking at the Recycle Bin on the Desktop, and I said to myself: let me rename it. I added 3 letters after it, now its name is: Recycle Binary HAH do you get the pun? Binary consists of every file you have in...