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: 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....
  3. recycle bin

    in Windows 10 Network and Sharing
    recycle bin: where is the recycle bin? https://answers.microsoft.com/en-us/windows/forum/all/recycle/36723dac-8bec-462a-84e7-6c56721ae73a"
  4. 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....
  5. recycle bin

    in Windows 10 BSOD Crashes and Debugging
    recycle bin: unable to delete a file from the recycle bin. https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/recycle/55e1a56f-a607-4bb5-8b70-042213e971f0
  6. 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...
  7. 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
  8. recycle bin

    in Windows 10 Support
    recycle bin: Since the 10061 build, I have several times noticed the recycle bin showing full and when I looked there was nothing in it. When I went back to desktop the bin showed empty. 5635
  9. Recycle Bin

    in Windows 10 Support
    Recycle Bin: Hello, Whenever I select "Manage" in recycle bin the top line of items in recycle bin are covered over by the "Manage" ribbon. Is there any way to make all items in "recycle bin" show below "Manage" ribbon. Thanx 87005
  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...