How to Add ?Empty Folder Contents? To Vista Right Click Context Menu To Delete Files Without Removing Folders
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. 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.
To enable the “Empty Folder Contents” right click context menu command, just follow these steps:
cmd /c "cd /d %1 && del /s /f /q *.*"
For user who doesn’t want to manually edit and mess with the system registry, download empty-folder-contents.zip and apply to merge the empty-folder-contents.reg values to registry.
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.
|Tags: add, click, contents, context, delete, empty, removing|
|Thread Tools||Search this Thread|
|Similar Threads for: "How to Add ?Empty Folder Contents? To Vista Right Click Context Menu To Delete Files Without Removing Folders"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to add system folders to context menu in windows 7||Arnabi||Customize Desktop||7||22-03-2012 09:21 AM|
|Removing context menu entries from the Windows 7 x64||Man-Than||Windows x64 Edition||3||13-05-2011 11:54 AM|
|How to Make Context Menu Appear on Mouse Click||NSA_CIA||Tips & Tweaks||3||03-10-2009 11:56 AM|
|Add "Delete Folder Contents" To Windows 7 Right Click||Deep123||Customize Desktop||3||10-04-2009 08:17 AM|
|Right click context menu - Change||Derek||Windows XP Support||2||16-10-2008 10:11 AM|