• February 28, 2025, 03:19:33 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Damn $RECYCLE.BIN folders! How to get rid of them?  (Read 13370 times)

SenojNW

  • Level 1 Member
  • *
  • Posts: 5
Damn $RECYCLE.BIN folders! How to get rid of them?
« on: March 26, 2010, 11:54:10 PM »

They appear in almost every folder on my DNS-323 despite having my folder options set to "hide system and files and folders"... My brother has a DNS-323 with exactly the same firmware version and he doesn't get the "$RECYCLE.BIN" folders on his network so there must be some way to stop them appearing (his was just that way by default when he set it up). I also get lots of "desktop.ini" files that can't be hidden.

I was running Vista on all machines but have just upgraded to Win7 64 on all if that makes any difference?

Help!
Logged

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #1 on: March 27, 2010, 05:03:51 AM »

My Understanding is that you can not have a "recycle bin" protected drive in the DNS-323 since it a network drive....
Also "normal" windows hidden or system attribute are not supposed to work in the DNS-323 because its using a Unix filesystem... ext2 or ext3
So I don't know how you got the $RECYCLE.BIN folders in there....
I guess the only way around this would be to run the following command from
a Administrator Command Prompt in the folder that contains the $RECYCL.BIN folder
"RD /S $RECYCLE.BIN"

I also guess that this can be put in a batch file to delete that folder from everywhere in your DNS-323

Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #2 on: March 27, 2010, 07:20:43 AM »

I'm having a hard time imagining how you got all those recycle bin folders over there as well!.

The previous post assumes you have access to the Linux command prompt using something like fun_plug.  I wonder if you could just put that command in the fun_plug file and restart the NAS, then delete the file?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #3 on: March 27, 2010, 06:58:59 PM »

The command mentioned above is a WINDOWS command prompt command, not a Linux shell command.
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #4 on: March 28, 2010, 05:49:27 AM »

Yep its a Windows Command....
Just map the drives to a letter
Open up a Command Prompt window:
Start --> All Programs --> Accessories --> Right Click on "Command Prompt" --> Run As Administrator
type the letter you mapped to followed by a colon ... ie.:  Z:
Then type in the command
RD /S $RECYCLE.BIN

or just manual delete all the $RECYCLE.BIN  using Explorer....
The thing with the command is that you can use in a batch file and make it delete all the $RECYCLE.BIN every where in a particular drive....
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #5 on: March 28, 2010, 05:50:58 AM »

The command mentioned above is a WINDOWS command prompt command, not a Linux shell command.
You're right of course, my head must have been in a dark place when I read that.  :-[
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

SenojNW

  • Level 1 Member
  • *
  • Posts: 5
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #6 on: March 31, 2010, 04:17:37 PM »

or just manual delete all the $RECYCLE.BIN  using Explorer....

Thanks for the suggestions guys. Sorry for the delay - been away for a bit.

I don't think the deleting will work - I've tried manually deleting before and they just reappear next time I delete something from the folders?! *edit* actually if I delete one and then just refresh in the folder it reappears *edit*

Maybe I should format the drives and restore from my backup?
« Last Edit: March 31, 2010, 04:22:55 PM by SenojNW »
Logged

SenojNW

  • Level 1 Member
  • *
  • Posts: 5
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #7 on: March 31, 2010, 04:30:48 PM »

Just tried deleting one from the command prompt (as administrator) and it got rid of it such that just refreshing didn't bring it back, but when I deleted a file from that directory as a test, $RECYCLE.BIN reappeared straight away... grrrr
Logged

JCK

  • Level 1 Member
  • *
  • Posts: 11
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #8 on: March 31, 2010, 05:35:35 PM »

I got them also, mostly in first level directories. They all contain desktop.ini in them which contains:

[.ShellClassInfo]
CLSID={645FF040-5081-101B-9F08-00AA002F954E}
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-8964

If I delete the directory they reappear instantly with the same file which contains the same contents.
Logged

Rodent

  • Level 3 Member
  • ***
  • Posts: 136
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #9 on: March 31, 2010, 05:42:52 PM »

Just tried deleting one from the command prompt (as administrator) and it got rid of it such that just refreshing didn't bring it back, but when I deleted a file from that directory as a test, $RECYCLE.BIN reappeared straight away... grrrr

Hi SenojNW,

I did a google search and found this http://articles.techrepublic.com.com/5100-10878_11-6090574.html, it talks about vista and network recycle bin so I don't know if Windows 7 has the same options that Vista does.

Hope it helps
R.
Logged

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #10 on: March 31, 2010, 11:51:56 PM »

Well I have Windows 7 Ultimate 64 bit
And my RecycleBin Properties does not show the "Network" tab...
dunno if it's because is not supported in 7... or because its just not activated...
Logged

SenojNW

  • Level 1 Member
  • *
  • Posts: 5
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #11 on: April 05, 2010, 05:43:44 PM »

I also have Win7 64 Ultimate

Win7 seems to have similar network recycle bin options. I have my Documents, Pictures, Music folders etc from my profile directory mapped straight to the NAS and if you go into properties on the desktop recycle bin you can choose to not have a recycle option for all the profile folders. Tried this before though and it doesn't make any difference - they are still there and reappear if you delete...
Logged

SenojNW

  • Level 1 Member
  • *
  • Posts: 5
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #12 on: April 18, 2010, 04:01:16 PM »

Well I tried reformatting my DNS-323, restored from a backup (without the RECYCLE.BIN folders) and when I deleted a file on the NAS the $RECYCLE.BIN folders came straight back...

Any other ideas?
Logged

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Damn $RECYCLE.BIN folders! How to get rid of them?
« Reply #13 on: April 18, 2010, 10:54:48 PM »

issue might not be wit the DNS-323... but a setting on your Windows install... or the way you are using the DNS-323....

Do you have by any change remapped any special Windows Folders to the DNS-323
by special I mean like the USER or the "My Documents"...
If so... try removing these mapping.... delete the RECYCLE.BIN folders and see if they come back...

Or if you have an other Windows computers... try removing yours from the network.. and check with the other one to see if the RECYCL.BIN comes back after deleteing them
Logged