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:為了使“空文件夾目錄”右擊上下文菜單命令,只要按照下列步驟:
- Run Registry Editor (regedit).運行註冊表編輯器(註冊表) 。
- Navigate to the following registry key:導航到下面的註冊表項:
HKEY_CLASSES_ROOT\Directory\shell HKEY_CLASSES_ROOT \目錄\殼
- Right click on shell folder, and then choose New -> Key .右擊shell文件夾 ,然後選擇新 -> “的關鍵。 Name the new subkey as Empty Folder Contents , or anything you would like.命名新的子項為空文件夾目錄 ,或任何你想。
- Right click on Empty Folder Contents and choose New -> Key .右擊空文件夾目錄 ,並選擇新 -> “的關鍵。 Name the sub-key as Command .名稱的分指揮部的關鍵作為。
- Under the Command sub-key, double click on the Default value data that is located at right pane. 的指揮下,分項,雙擊默認值數據,位於右窗格中。
- On the pop-up “Edit String” dialog window, enter the following value:在彈出的“編輯字符串”對話框窗口中,輸入以下值:
cmd /c "cd /d %1 && del /s /f /q *.*" - 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 我的數字生活論壇 . 。
Related Articles相關文章
- Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC技巧如何刪除文件夾內容,同時保持樹狀結構的文件夾在Windows XP的PC
- Password Protect Compressed (zipped) Folders and Hence Your Files and Folders密碼保護壓縮( zipped )文件夾和因此您的文件和文件夾
- Hide and Remove Folders Shortcuts in Vista Start Menu隱藏和刪除文件夾的快捷方式在Vista開始菜單
- Download RED (Remove Empty Directories) for Windows PC下載紅(刪除空目錄)的Windows PC機
- Reveal or Hide Windows System Files and Folders顯示或隱藏Windows系統文件和文件夾
- Add “Pin to Start Menu” Contextual Menu Option Items for Folders購買“針開始菜單”上下文菜單選項的項目文件夾
- Add Take Ownership Option To Files and Folders Context Menu in Vista新增的所有權選擇的文件和文件夾上下文菜單在Vista
- Reveal, Copy and Get File Full Path with Copy as Path in Windows Vista顯示,複製和獲取文件的全路徑的路徑複製在Windows Vista
- Use Vista SendTo Folder to Add or Delete Send To Menu Items or Shortcuts使用Vista SendTo文件夾來添加或刪除發送到菜單項或捷徑
- How to Find and Locate Outlook Personal Folders .PST Files’ Folder Location如何尋找並找到Outlook個人文件夾。 pst文件'文件夾位置

































October 7th, 2008 18:25 08年10月7日18:25
[...] The empty folder contents trick also works in Windows Vista. [...]的空文件夾中的內容也欺騙Windows Vista中。 [...]