Deleting C:\RECYCLER with Batch..???

By Deviouz
May 6, 2007
  1. How can I delete this folder and all its contents "C:\RECYCLER" silently with batch commands..??

    I tried "DEL C:\RECYCLER" But I keep getting this error: "Could Not Find C:\RECYCLER\*"
    but the folder is still there, as a Hidden System folder...

    what am i missing here to get this to work right..???
  2. gbhall

    gbhall TechSpot Chancellor Posts: 2,423   +77

    watch what you are doing ! You empty the recycle bin by putting DEL C:\RECYCLER\*.* otherwise you might delete the directory as well, with dire results. You are nearly there otherwise. as you should know, the recycle bin is a hidden, system file, so the batch command needs to first set this off, delete files, then set it on again


    why you can't just right click like the rest of us, I dont know....
  3. Deviouz

    Deviouz TS Rookie Topic Starter Posts: 70

    ATTRIB C:\RECYCLER -h -s ... works
    DEL C:\RECYCLER\*.* .... doesn't
    the folder still stays there...???
    i want to get rid of it...??

    aight i found this and it works...
    RD c:\RECYCLER /Q /S
  4. Nestea

    Nestea TS Rookie Posts: 17

    why do you want to delete it with a .bat anyway?

    just tell you rec.b. not to save copies of your deleted files... ?

    > why you can't just right click like the rest of us, I dont know....
  5. gbhall

    gbhall TechSpot Chancellor Posts: 2,423   +77

    Yes, you could delete the recycle bin as you found, but can't you understand it does an important, even vital job ?

    Sooner or later you will delete something by accident, and then it will be a case of 'oh, my God, why was I so stupid?'

    Just do what everyone else does, let it do it's thing, and empty it from time to time when you are confident it holds nothing important.

    It will probably come back of it's own accord anyway.
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...