Sunday, August 26, 2007

60. All About Your Recycle Bin

Add rename to the menu:
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder
"Attributes"=hex:50,01,00,20

Add delete to the menu:
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder
"Attributes"=hex:60,01,00,20

Add rename and delete to the menu:
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder
"Attributes"=hex:70,01,00,20

Restore the recycle bin to Windows defaults including un-deleting the icon after deletion:Restore the icon.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer
\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}
@="Recycle Bin"

Reset Windows defaults.
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder
"Attributes"=hex:40,01,00,20

Other edits to the recycle bin icon:
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder

"Attributes"=hex:40,01,01,20 ... standard shortcut arrow
"Attributes"=hex:40,01,02,20 ... a different shortcut arrow
"Attributes"=hex:40,01,04,20 ... and still another shortcut arrow
"Attributes"=hex:40,01,08,20 ... make it look disabled (like it's been cut)

For Windows XP and 2000 you have to also edit the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645F
F040-5081-101B-9F08-00AA002F954E}
Did I miss anything..?? Ofcourse NOT!

No comments: