How to Add “Empty Folder Contents” To Windows Right Click Context Menu

Satheesh C B | Saturday, December 13, 2008 | 2 comments

There may be need for Windows user to quickly 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 in Windows XP, which works on Windows Vista,Windows Server 2003 & Windows 2000 .

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
3. Right click on shell folder, and then choose New -> Key. 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

 

Those who doesn’t want to manually edit and mess with the system registry  download empty-folder-contents.zip  from here and apply to merge the empty-folder-contents.reg values to registry.

empty

 

Now whenever you need to empty he contents of the particular folder, ust right click on the folder and choose  Empty Folder Contents’ from the ontext menu and leave the rest to indows.

Warning:Be very careful after using this tip. You can accidentally delete important files.

Category: ,

Welcome to SparksSpace . This blog launched on Dec 2007 with a focus on Technology.You can find latest Computer Software, Tutorials, Tricks,Tips & Software promotions here!

2 comments:

  1. Hi,


    My name is Kimmi Stevens. I've just visited your

    site and I was wondering if you'd be interested

    in exchanging links with my website. I can

    offer you a home page link back from my

    Marketing website which would be

    (http://www.isobe78.com/) with page rank 3

    Your link will be placed here:
    http://www.isobe78.com/ PR3 (It`s a Marketing

    website PR3)

    As mentioned, your link would be placed on the

    site home page, not on any "links" pages which

    may be buried in the site somewhere.

    If you are interested please add the following

    information to your website and kindly let me

    know when it´s ready and I will do the same for

    you in less than 24 hours, otherwise you can

    delete my link from your site.

    Title: EmailIQ
    Url: http://www.emailiq.com
    Description: Email iQ allows you to send bulk

    permission email marketing campaigns and track

    open and click through activity in emails.

    Or you can use the following html code:
    EmailIQ -

    Email IQ is a company that offers permission

    email marketing services.

    Want my link exactly so:

    EmailIQ

    I hope you have a nice day and thank you for

    your time,

    Kimmi Stevens
    kimmi.stevens@isobe78.com

    ReplyDelete
  2. Its me DaPakiGuy from Pakistan here...
    Love ur work dude....great info tips n tricks...keep up da good work...

    ReplyDelete