Location:
State:
Carrier
Country
Status

Open file regardless of extension.


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!

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!

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.



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!

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%MicrosoftWindowsSendTo

(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).

Open file regardless of extension.