File extension not in file association list


  1. Posts : 8
    Windows 10 Pro 64-bit
       #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 Computer


  2. Posts : 8
    Windows 10 Pro 64-bit
    Thread Starter
       #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 Computer


  3. Posts : 4
    windows 10
       #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:
    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 Computer


  4. Posts : 1
    Windows 10.1511 Home 64b
       #4

    Open file regardless of extension.


    chazcon said:
    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 Computer


  5. Posts : 1
    Windows 10
       #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:
    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 Computer


  6. Posts : 148
    Windows 10 32 bit
       #6

    chazcon said:
    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!
    This is not working for me! I added the file extension but when I try to set a default app, I get the following message

    "there is no installed app that can open this type of file or protocol" And gives no option to specify one, right click "Open with" gives the error message in the OP!

    For some reason MDZ files didn't associate with Access when Office 2016 was installed and it will not let me associate them with Access.
      My Computer


  7. Posts : 8
    Windows 10 Pro 64-bit
    Thread Starter
       #7

    LAMP90 is correct, this no longer works. THANKS MICROSHAFT!

    Ok first do this:

    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 Add, OK and Close

    Then try this thanks to:

    Kent Lasley posted 6 months ago
    on https://notepad-plus-plus.org/community/topic/13051/set-notepad-as-default-app-in-windows-10


    Gotta LOVE how windows tries to muscle out the competition!
    Okay, here is a work around:

    1. Create a dummy file with the extension you wish to default to your program. The file can be empty.
    2. Right click on the dummy file and select Properties.
    3. On the General tab there is a section that states:
      Type of file: <YOUR_SUFFIX>
      Opens with <CURRENT_DEFAULT_PROGRAM> and a button that says <CHANGE>.
    4. Click Change.
    5. How do you want to open <YOUR_SUFFIX> files from now on? Choose <More apps>.
    6. Scroll to the bottom and select <Look for another app on this PC>
    7. Go to C:\Program Files (x86)\Notepad++ and select <notepad++.exe> and select <OPEN>
    8. Close Properties and your done!
      My Computer


 

  Related Discussions
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 23:48.
Find Us




Windows 10 Forums