Extend the  shell popup menu

Posted on 1997-06-03
Last Modified: 2006-11-17
How can add items to the system pop up menu?
The items that i will add will call my exe file.
i.e: like WinZip add's it's 'add to zip', or like adding an my own item next to properties of 'my computer'.
I need to add my new entry to every pop up menu availble. i need the option not to show my new entry if neeeded.
Question by:DarkAge

Accepted Solution

ChrisLewis earned 100 total points
ID: 1426790
Edit the Registry for the extention that you want your menu to appear.

For Example, the MIDI player REG entry looks like this
(.MID files are of type midfile)

HKEY_CLASSES_ROOT\midfile\shell\open\command="C:\\WINDOWS\\mplayer.exe %1"
HKEY_CLASSES_ROOT\midfile\shell\play\command="C:\\WINDOWS\\mplayer.exe /play /close %1"

If you wanted to add a View command, you add the lines

HKEY_CLASSES_ROOT\midfile\shell\View\command="C:\\MYPROG.EXE  %1"

This should help


So you are basically adding the sub-key View, a sub-key under view called command, and a


Author Comment

ID: 1426791
Edited text of question

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macro: print each sheet to pdf using ExportAsFixedFormat 11 51
VBS file using code from 2nd file (txt or vbs) 4 42
TT Auto Dashboard 13 95
Problem to With line 4 63
Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question