Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8209453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:43:33+00:00 2026-06-07T09:43:33+00:00

I would like to remove all file types but one from right click menu

  • 0

I would like to remove all file types but one from right click menu resulting on right-clicking on background in windows XP (and then going to “new”).
I tried HKCR ->Directory ->Background->sheelex in the registry and there is “new” item but it just have one value.
The problem is I have like 20 file types there but I only need one to save time looking for that .txt every time (to be sure no random stuff is added to new file, I am editing extension myself every time anyway).
Where do I find content of this menu ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T09:43:35+00:00Added an answer on June 7, 2026 at 9:43 am

    This topic is explained here: Extending the New Submenu
    http://msdn.microsoft.com/en-us/library/windows/desktop/cc144101(v=vs.85).aspx#new

    To do the opposite, you need to search the registry for below key:

    HKEY_CLASSES_ROOT\.XXX\ShellNew
    

    Where XXX is a file extension name. e.g.: bmp, rtf, txt, etc.
    You can do this by using below batch file.

    @ECHO OFF
    REG EXPORT HKEY_CLASSES_ROOT "%TEMP%\REGLIST.TMP"
    FIND /I "\SHELLNEW]" "%TEMP%\REGLIST.TMP"
    DEL "%TEMP%\REGLIST.TMP"
    PAUSE
    

    It will show something like this.

    [HKEY_CLASSES_ROOT\.doc\ShellNew]
    [HKEY_CLASSES_ROOT\.dpp\ShellNew]
    [HKEY_CLASSES_ROOT\.Hxs\Hxs\ShellNew]
    [HKEY_CLASSES_ROOT\.lnk\ShellNew]
    [HKEY_CLASSES_ROOT\.rtf\ShellNew]
    [HKEY_CLASSES_ROOT\.txt\ShellNew]
    [HKEY_CLASSES_ROOT\.zip\ShellNew]
    

    Note that not all ShellNew subkey will be displayed on the New submenu since it must follow the requirements as decribed in the above link.

    To remove the New File menu entry, delete the ShellNew registry subkey.

    For example, if the file extension name is dpp, then registry key would be:

    HKEY_CLASSES_ROOT\.dpp\ShellNew
    

    And to remove the ShellNew subkey, you can use Registry Editor or the command line REG tool.
    For REG example:

    REG DELETE HKEY_CLASSES_ROOT\.dpp\ShellNew
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to remove all lines from a textfile which contain a certain
I would like to remove all twitter nicknames (@xxx) from a string like this:
I would like to remove all occurrences of a given value from within a
I would like to remove one div element, but without its children. For example,
i would like to remove a .js file from a drupal module to override
I would like to know how to remove all comments in CSS file and
I would like to remove all trailing zeros without truncating or rounding the number
I would like to remove the queries information from the website. I am using
I would like to remove from Mac OS-X taskbar (Dock) the XCode's recent project
I would like to know if it's possible to remove all contextual links inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.