Windows 10: File extension not in file association list Solved

  1. chazcon's Avatar
    Posts : 3
    Windows 10 Pro 64-bit
       28 Oct 2015 #1

    File extension not in file association list


    Hello, I use Notepad++ to edit Python files which have the file extension .py such as "sample.py"

    I would like to set Notepad++ as the default program to open .py files.

    When I open a .py file I get the popup asking me which file I want to use to open. But I do not get the choice to set the default program to open this extension.

    When I go to Settings|Choose Default Apps By File Type the .py extension is not listed.

    Looking through the registry I see that there is no .py handler.

    Q: What is the method to manually add a file extension and associate it with a program?

    Thanks!
      My System SpecsSystem Spec

  2. chazcon's Avatar
    Posts : 3
    Windows 10 Pro 64-bit
       28 Oct 2015 #2

    hey I figured it out!

    1) Settings - Indexing Options
    2) Advanced button
    3) File Types tab
    4) Add New Extension to List box, type in extension (without a period) such as "py"
    5) Click OK and Close
    6) Settings - Chose a default app for each type of file
    7) Scroll down to file extesion
    8) click Choose a Default
    9) select a program
    10) The first time you open a file with this new association, you will get a popup asking you which program to use to open this file type. Your default program will already be selected and a checkbox with Always use the program to open this type of file will already be selected as well, just click the program type. After this you are golden.
    11) Damn I spent 3 hours on this! Ugh!
      My System SpecsSystem Spec

  3.    04 Jan 2016 #3

    Easier Way to Change File Associations


    I could not use the below instructions, as I am trying to change a common file type (.tif) to an application not appearing in the standard list (Microsoft's attempt to lock out competitive apps perhaps?). Just go to the file with extension that you want to open, in the File Explorer utility, right click and select "open with". Then look for your preferred app in the "other apps" list and make sure "use as default" and your are all set.



    chazcon said: View Post
    hey I figured it out!

    1) Settings - Indexing Options
    2) Advanced button
    3) File Types tab
    4) Add New Extension to List box, type in extension (without a period) such as "py"
    5) Click OK and Close
    6) Settings - Chose a default app for each type of file
    7) Scroll down to file extesion
    8) click Choose a Default
    9) select a program
    10) The first time you open a file with this new association, you will get a popup asking you which program to use to open this file type. Your default program will already be selected and a checkbox with Always use the program to open this type of file will already be selected as well, just click the program type. After this you are golden.
    11) Damn I spent 3 hours on this! Ugh!
      My System SpecsSystem Spec


  4. Posts : 1
    Windows 10.1511 Home 64b
       18 Jan 2016 #4

    Open file regardless of extension.


    chazcon said: View Post
    hey I figured it out!

    1) Settings - Indexing Options
    2) Advanced button
    3) File Types tab
    4) Add New Extension to List box, type in extension (without a period) such as "py"
    5) Click OK and Close
    6) Settings - Chose a default app for each type of file
    7) Scroll down to file extesion
    8) click Choose a Default
    9) select a program
    10) The first time you open a file with this new association, you will get a popup asking you which program to use to open this file type. Your default program will already be selected and a checkbox with Always use the program to open this type of file will already be selected as well, just click the program type. After this you are golden.
    11) Damn I spent 3 hours on this! Ugh!
    Sorry, it does not work with Windows 1.1511. You can get the desired extensions all right (that's nice!), but I still cannot associate Wordpad or Notepad with it. You have to look up the application in a store.
    Files such as those for Quicken have their own extensions, but turn out to be just text files that follow some sort of template, just like HTML or XML. Those can be easily opened with Wordpad, which can handle large text files a lot faster and more bug-free than Notepad.
    Another remedy could be to use the context menu option of Send To. Send To uses a folder in the user profile. This text, placed on a File Explorer address field, will open up the one in your user profile:

    %AppData%\Microsoft\Windows\SendTo

    (Yes, %AppData% will be expanded into your actual AppData folder in your user profile).

    Just drop a shortcut to your favorite program into it, and then it will show up in your Send To options. Make sure it is a SHORTCUT, not the EXEC itself (and yes, I'm SHOUTING). Sent To folder is supposed to have only shortcuts (and other mysterious stuff that, for instance, opens the default mail handler).
    That was the only way I was able to solve this issue.
    W10.1511 is a pain with its excessive security .
    Probably this is because Windows cannot tell what came from the keyboard and mouse and touchscreen (which should be trusted) vs. an application or some remote process making changes itself (which probably should be suspect unless proven otherwise).
    Last edited by LAMP90; 18 Jan 2016 at 18:44. Reason: Add text link to open Sent To folder in your user profile.
      My System SpecsSystem Spec

  5.    27 Nov 2016 #5

    Thanks a million


    I am very grateful that you spent all that time figuring this one out. I knew there must be a way to do it but all the other hits when I googled it just told me how to associate apps with existing extensions on the list. Thanks a zillion.

    I have stuck with XP to the bitter end because of all the old docs and programs which don't work with anything later and am struggling with workarounds in Windows 10 so any leg up like this is worth its weight in gold . Brilliant.

    chazcon said: View Post
    hey I figured it out!
    1) Settings - Indexing Options
    2) Advanced button
    3) File Types tab
    4) Add New Extension to List box, type in extension (without a period) such as "py"
    5) Click OK and Close
    6) Settings - Chose a default app for each type of file
    7) Scroll down to file extesion
    8) click Choose a Default
    9) select a program
    10) The first time you open a file with this new association, you will get a popup asking you which program to use to open this file type. Your default program will already be selected and a checkbox with Always use the program to open this type of file will already be selected as well, just click the program type. After this you are golden.
    11) Damn I spent 3 hours on this! Ugh!
      My System SpecsSystem Spec


 

Related Threads
Hi all, I have selected certain file types / folders and locations in Windows Defender on Windows 10 that were added to the exclusions lists... Previously I could go to Windows Defender and see what files, folders or extensions I had excluded...
Hi, With Win7 I used to be able to copy a recent or pinned file from any MS Office jump list by right clicking and selecting Copy from the context menu For Win 10 the menu is still there but when you r/c the file it doesn't appear to be in focus...
When I use the left hand side search and click on results other than 'web', a word document is opened! How do I reset the correct app association for this action/file type. Thank you in advance
No jpg file association ? in General Support
I double clicked on xxx.jpg and LibreOffice opened. I wanted to change the program to IrfanView. I went in through Start > search > associations. How could they screw that up ?
I've been using MSOffice Word for quite some time. I want to switch over to Open Office Writer. Can I save a file that I make in Writer with an docx file extinsion? If not, since I have dozens of files with the docx externsion, which is the best one...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:30.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums