Latest Articles

About this entry

This entry was posted on Tuesday, August 19th, 2008 at 09:27 and is filed under How-to. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

将“回收站”添加到“文件夹选项”中

为了演示可用更酷的方式修改 Windows XP 注册表,我将为您介绍隐藏该图标的更好方法。我们将为它提供一个用户界面。

清单3的目的即在于此。它扩展了“文件夹选项”,方法是在其中添加一个用来在桌面上显示回收站图标的选项。通过自定义 HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder 键,您可以在上述对话框中添加选项。高级用户可以使用该键作为如何扩展它的参考。初级用户可以使用该脚本来添加回收站图标选项:将下述的清单3保存在文本文件 Binopt.reg 中,然后双击它。将 Binopt.reg 导入注册表后,在“文件夹选项”对话框中会列出一个新选项,如 图 1 所示,该选项允许您配置回收站图标。

将“回收站”添加到“文件夹选项”中

要使用“文件夹选项”隐藏或显示回收站图标,请执行以下步骤:

  1. 在 Windows 资源管理器的“工具”菜单上,单击“文件夹选项”。
  2. 在“查看”选项卡的高级设置下,执行以下任一操作:
    • 选择“在桌面上显示回收站图标”复选框可在桌面上显示该图标。
    • 清除“在桌面上显示回收站图标”复选框可从桌面上删除该图标。

清单3内容


REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop]
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\HideDesktopIcons\\NewStartPanel"
"Text"="在桌面上显示回收站图标"
"Type"="checkbox"
"ValueName"="{645FF040-5081-101B-9F08-00AA002F954E}"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000001
"DefaultValue"=dword:00000001
"HKeyRoot"=dword:80000001

via: Customizing Your PC with the Windows XP Registry | 通过 Windows XP 注册表自定义您的 PC

Tags: , ,

Comments are closed.

Comments are currently closed on this entry.