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

Status
Not open for further replies.

Deviouz

Posts: 70   +0
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..???
 
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

ATTRIB C:\RECYCLER -h -s
DEL C:\RECYCLER\*.*
ATTRIB C:\RECYCLER +h +s

why you can't just right click like the rest of us, I dont know....
 
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....
^_^;
 
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.
 
Status
Not open for further replies.
Back