Understanding Recycle Bin

bonalymac

Member
Hi

Can anyone point me at an article that explains (reasonably simply) how the recycle bin works. I've read the Wikipedia article on it, and it helps, but not enough.

I'm trying to understand the following. I have just cleared the Recycle Bin using a Right Click on the desktop icon. The Icon changed to show an empty bin.

I have several physical disks, including an external USB disk, and as you'll see from the image, Disk cleanup says the bin is empty, the Desktop icon says its empty, but there is almost 4Gb in there according to Windows Explorer.

I'm on Vista Home Premium 32 SP2, and there is only 1 user on the PC. The External disk however has just had a copy of files with multiple users (from another PC) deleted.

I would like to better understand the workings, and the difference between "$RECYCLE BIN" & "Recycle Bin", so any articles on this would be welcome.

I also have a directory called "RECYCLER". I'd like to understand how that fits in.

Google provides so many, I thought I'd ask for help to find a decent one.

Thanks



06-03-2011%2009-30-58.jpg
 

My Computer

System One

  • Manufacturer/Model
    Home made
    Motherboard
    ASUS
    Memory
    4Gb
    Graphics Card(s)
    GeForce 6600
    Sound Card
    Soundblaster Audigy SE
    Monitor(s) Displays
    Samsung & Dell
    Screen Resolution
    1920 x 1080 & 1280 x 1040
    Hard Drives
    Seagate, Maxtor & Samsung
    PSU
    Enermax 500
    Case
    Antc
    Keyboard
    MS
    Mouse
    MS

My Computer

System One

  • Manufacturer/Model
    Hewlett-Packard SR5019UK
    CPU
    AMD Athlon 64 processor 3800 + 2.40GHz
    Motherboard
    M2N68-LA (Narra)
    Memory
    2.50GB
    Graphics Card(s)
    nVidia GeForce
    Sound Card
    Realtec ALC888 Audio
    Monitor(s) Displays
    17" LCD Monitor
    Hard Drives
    160 Gb Usable Hard Drive
    Other Info
    HP G56 Laptop Win 7 64bit. 4Gb Ram DDR2's. Hitachi 450Gb Hard Drive. Pentium(R) Duel-Core CPU.
Hello!

C:\$RECYCLE.BIN is simply a hidden folder which Windows uses for storing everything to do with the Recycle Bin. $ helps with the hiding on AD and Explorer I think...

Anyway, it is hidden.

Inside that, are lots of folders with the name of each account's SID. An SID is basically a very long code which is different for each account. See more here: Security Identifier - Wikipedia, the free encyclopedia

So my SID is "S-1-5-21-371590239-1875341092-1470900546-1000".

This means that my Recycle Bin is at:

"C:\$Recycle.Bin\S-1-5-21-371590239-1875341092-1470900546-1000\"

You will also notice that a Recycle Bin is a bit more than just a folder with an icon. The way explorer looks are behaves completely changes. This is because of desktop.ini.

A desktop.ini inside a folder with the correct data will change the way Windows Explorer works and behaves. The Recycle bin's desktop.ini is shown below:

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

Each file stored in the Recycle Bin is stored as two parts, the file, and data about the file, such as where it came from. For output.txt which I deleted, it is stored as two parts:

$R8HPM2N.txt:

Code:
This is my computer!

$I8HPM2N.txt:

Code:
              p'ÿ)-ÛËC : \ E n c r y p t i o n T e s t \ o u t p u t . t x t

You can explorer this structure using a tool such as 7-zip which ignores desktop.ini files. 7-Zip

Use 7-zip to look in your Recycle Bins. See if you can find these phantom files. And then delete a file, and explore the Recycle Bin's structure.

Richard
 

My Computer

System One

  • Manufacturer/Model
    Dell XPS 420
    CPU
    Intel Core 2 Quad Q9300 2.50GHz
    Motherboard
    Stock Dell 0TP406
    Memory
    4 gb (DDR2 800) 400MHz
    Graphics Card(s)
    ATI Radeon HD 3870 (512 MBytes)
    Sound Card
    Onboard
    Monitor(s) Displays
    1 x Dell 2007FP and 1 x (old) Sonic flat screen
    Screen Resolution
    1600 x 1200 and 1280 x 1204
    Hard Drives
    1 x 640Gb (SATA 300)
    Western Digital: WDC WD6400AAKS-75A7B0

    1 x 1Tb (SATA 600)
    Western Digital: Caviar Black, SATA 6GB/S, 64Mb cache, 8ms
    Western Digital: WDC WD1002FAEX-00Z3A0 ATA Device
    PSU
    Stock PSU - 375W
    Case
    Dell XPS 420
    Cooling
    Stock Fan
    Keyboard
    Dell Bluetooth
    Mouse
    Advent Optical ADE-WG01 (colour change light up)
    Internet Speed
    120 kb/s
    Other Info
    ASUS USB 3.0 5Gbps/SATA 6Gbps - PCI-Express Combo Controller Card (U3S6)
Wow! niemiro,

That's what I call an overview!!!

Brilliant.
 

My Computer

System One

  • Manufacturer/Model
    Hewlett-Packard SR5019UK
    CPU
    AMD Athlon 64 processor 3800 + 2.40GHz
    Motherboard
    M2N68-LA (Narra)
    Memory
    2.50GB
    Graphics Card(s)
    nVidia GeForce
    Sound Card
    Realtec ALC888 Audio
    Monitor(s) Displays
    17" LCD Monitor
    Hard Drives
    160 Gb Usable Hard Drive
    Other Info
    HP G56 Laptop Win 7 64bit. 4Gb Ram DDR2's. Hitachi 450Gb Hard Drive. Pentium(R) Duel-Core CPU.
Thanks for that feedbcak. I haven't had a chance to read it yet as I want to concentrate on it

But your input is much appreciated.


Colin
 

My Computer

System One

  • Manufacturer/Model
    Home made
    Motherboard
    ASUS
    Memory
    4Gb
    Graphics Card(s)
    GeForce 6600
    Sound Card
    Soundblaster Audigy SE
    Monitor(s) Displays
    Samsung & Dell
    Screen Resolution
    1920 x 1080 & 1280 x 1040
    Hard Drives
    Seagate, Maxtor & Samsung
    PSU
    Enermax 500
    Case
    Antc
    Keyboard
    MS
    Mouse
    MS
At last, I've hada a chance to look at thjis properly

You can explorer this structure using a tool such as 7-zip which ignores desktop.ini files. 7-Zip

Use 7-zip to look in your Recycle Bins. See if you can find these phantom files. And then delete a file, and explore the Recycle Bin's structure.

I've downloaded 7-zip and had a look as suggested. That's very helpful, I did not know about the dual file issue.

However, it still does not answer some of the specifics I weas interested in

I would like to better understand the workings, and the difference between "$RECYCLE BIN" & "Recycle Bin", so any articles on this would be welcome.

I also have a directory called "RECYCLER". I'd like to understand how that fits in. /QUOTE]

The image in the original post shows Multiple Recycle bins. As there is only 1 user, how does this happen
 

My Computer

System One

  • Manufacturer/Model
    Home made
    Motherboard
    ASUS
    Memory
    4Gb
    Graphics Card(s)
    GeForce 6600
    Sound Card
    Soundblaster Audigy SE
    Monitor(s) Displays
    Samsung & Dell
    Screen Resolution
    1920 x 1080 & 1280 x 1040
    Hard Drives
    Seagate, Maxtor & Samsung
    PSU
    Enermax 500
    Case
    Antc
    Keyboard
    MS
    Mouse
    MS
Back
Top