Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders购买“空文件夹内容”到Vista ,请右击上下文菜单中删除文件但不删除文件夹

There may be need for Windows user to quickly delete and empty all files content inside a myriad hierarchy of folders, but maintaining and preserving the structure of the folders tree.有可能需要Windows用户能够快速删除和空洞的所有文件的内容境内无数分级的文件夹中,但维护和保持结构的文件夹树。 In other words, user wants to just delete and remove the files, but not the folders that storing the files.换句话说,用户想要删除,并删除这些文件,但文件夹存储的文件。 There is a trick to add有一个帽子戏法添加 “Empty Folder Contents” contextual item “空文件夹目录”内容项目 into right click context menu (much like how user access the “Delete” function) in Windows XP, which works on Windows Vista, also Windows Server 2003 and 2008 as well.到右击上下文菜单(就像用户如何使用“删除”功能)在Windows XP中,可以在Windows Vista中,还Windows Server 2003和2008年以及。

To enable the “Empty Folder Contents” right click context menu command, just follow these steps:为了使“空文件夹目录”右击上下文菜单命令,只要按照下列步骤:

  1. Run Registry Editor (regedit).运行注册表编辑器(注册表) 。
  2. Navigate to the following registry key:导航到下面的注册表项:

    HKEY_CLASSES_ROOT\Directory\shell HKEY_CLASSES_ROOT \目录\壳

  3. Right click on shell folder, and then choose New -> Key .右击shell文件夹 ,然后选择 -> “的关键。 Name the new subkey as Empty Folder Contents , or anything you would like.命名新的子项为空文件夹目录 ,或任何你想。
  4. Right click on Empty Folder Contents and choose New -> Key .右击空文件夹目录 ,并选择 -> “的关键。 Name the sub-key as Command .名称的分指挥部的关键作为。
  5. Under the Command sub-key, double click on the Default value data that is located at right pane. 指挥下,分项,双击默认值数据,位于右窗格中。
  6. On the pop-up “Edit String” dialog window, enter the following value:在弹出的“编辑字符串”对话框窗口中,输入以下值:

    cmd /c "cd /d %1 && del /s /f /q *.*"

  7. Click OK button to save the setting, and exit from Registry Editor. 单击确定按钮保存设置,退出注册表编辑器。

For user who doesn’t want to manually edit and mess with the system registry, download对于用户谁不想要手动编辑和食堂的系统注册表,下载 empty-folder-contents.zip空文件夹, contents.zip and apply to merge the empty-folder-contents.reg values to registry.并适用于合并的空文件夹, contents.reg价值观登记。

Now, just right click on the folder and select Empty Folder Contents to delete all its file contents recursively into all sub-directories, but the the sub-folders will not be touched and preserved.现在,只需右击该文件夹并选择空文件夹目录删除所有的文件内容递归到所有分目录,但该子文件夹将不会触及和维护。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明:这是一台机器翻译网页这是“原样”提供,无保修。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原文的文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at共享和贡献或获得技术支持和帮助 My Digital Life Forums 我的数字生活论坛 .



One Response to “Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders”一个回应“添加”空文件夹内容“到Vista ,请右击上下文菜单中删除文件而不删除文件夹”

  1. Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC » My Digital Life技巧如何删除文件夹内容,同时保持树状结构的文件夹在Windows XP电脑»我的数字生活
    October 7th, 2008 18:25 08年10月7日18:25
    1

    [...] The empty folder contents trick also works in Windows Vista. [...]的空文件夹中的内容也欺骗Windows Vista中。 [...]

Leave a Reply留下一个回复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> “删除日期时间= “ ” “的<em> <i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅没有评论


Custom Search

New Articles新文章

Incoming Search Terms for the Article收到的搜索字词的文章

can not add context menu items in vista 不能添加上下文菜单项在Vista - - delete context menu Vista right click 上下文菜单中删除Vista的右键 - -