Add a program to the right click menu

SearchWin2000 member Rick Ziminski shares a handy tip for adding any program to your right click menu.

Add any program to the menu when you right click. Here are 2 examples I use to edit files easily.

ADD NOTEPAD TO RIGHT-CLICK MENU FOR EVERY FILE

This tip will set Notepad as the default application for any extensions that are not associated with another application. It will also add Notepad to the right-click menu for every file. This feature lets you open any file in Notepad without navigating to Send-To and lets you double-click a file that doesn't have an association established, such as Config.sys, to open it in Notepad. If the file is too big for Notepad, you will get a prompt to open the file in Wordpad instead.

  1. Run REGEDIT.
  2. Navigate to HKEY_CLASSES_ROOT*. (This should be the very first subtree.)
  3. A key called "shellex" should already be here. Add a new key called "Shell" at the same tree level as "shellex."
  4. Under the "Shell" key, create another key called "Notepad."
  5. Create another key under the "Notepad" key called "Command."
  6. You'll see a string value named Default when you highlight the "Command" key. Double-click Default and enter "NOTEPAD %1" (without the quotes). Click OK.
  7. Exit Regedit and test it out.

    Note:The full path to the correct Registry key is: HKEY_CLASSES_ROOT*ShellNotepadCommand

ADD WORDPAD TO RIGHT-CLICK MENU FOR EVERY FILE

  1. Run REGEDIT.
  2. Navigate to HKEY_CLASSES_ROOT*. (This should be the very first subtree.)
  3. A key called "shellex" should already be here. Add a new key called "Shell" at the same tree level as "shellex."
  4. Under the "Shell" key, create another key called "Wordpad."
  5. Create another key under the "Wordpad" key called "Command."
  6. You'll see a string value named Default when you highlight the "Command" key. Double-click Default and enter "C:Program FilesAccessoriesWORDPAD.EXE %1" (without the quotes or the appropiate path to wordpad.exe). Click OK.
  7. Exit Regedit and test it out.

Note: The full path to the correct Registry key is: HKEY_CLASSES_ROOT*ShellWordpadCommand


This was first published in July 2001

Dig deeper on Domain Name System (DNS)

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close