Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What do I need to do to add an item to the right click menu for files with certain file extensions, along with sub menus?

An example would be adding items to run Python files (.py, .pyw, .pyc) with a specific version of Python, so the menu for a .py files would look like say:

Open  
7-Zip >  
    ...7zip stuff
Run >  
    Python 2.5  
    Python 2.6  
    Python 3.1  
Edit >  
    IDLE 2.5  
    IDLE 2.6  
    IDLE 3.1  
various other items
share|improve this question

2 Answers 2

up vote 7 down vote accepted

FileMenu Tools can help you create extra items in the context menu of Windows Explorer, including sub-menus. You can add the extra items only for some extensions or type of elements (files, drives, folders, ...).

alt text

share|improve this answer
    
That's a nice utility. –  wfaulk Oct 15 '09 at 12:58
    
Is there some way to put items in the main part of the context menu, rather than within the "FileMenu Tools" sub-menu? –  Fire Lancer Oct 15 '09 at 13:37
3  
Uncheck "Show All The Commands in Submenu" in the Options menu then click on the "Apply changes" icon. –  Snark Oct 15 '09 at 14:56

In Windows XP (other Windows' should be similar):

  1. Open the File Types configuration dialog (in an explorer window Tools->Folder Options, File Types tab)
  2. Select the Registered file type you would like to add an item for
  3. Select the "Advanced" button under the "Details for ... extension" box
  4. Create a new action and associate it with the command line you would like to run.

That should add an item to the context menu for that file type.

share|improve this answer
    
but EXE and DLL does not seem to show up here –  Louis Rhys Jun 5 '12 at 6:14
    
An Anon User adds: Vista onwards has no file types tab, so use instead the misnamed "Default Programs" Editor as a brilliant Workaround. Control Panel\Programs\Default Programs –  Psycogeek Sep 3 '13 at 19:44
    
When I installed FileMenu tools I got a message from McAfee saying the program exhibited risky behavior (it tried to download from IP 50.19.102.217 after I installed it; why would it need to do that?) –  John Sonderson Oct 11 '13 at 11:46
    
I am on Windows 7. I want to install my own entry on this menu that appears when you right-click with a file, and I want this entry to be appear on such menu for all users on the system, and I want this entry to say "Open Command Prompt", and I want such entry to behave so that when it is clicked a cmd.exe opens with its current directory set to the directory which contains the file I right-clicked. There must be a way to do this by manually adding some script files to the system without having to use FileMenu tools. Thanks. –  John Sonderson Oct 11 '13 at 11:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.