I am trying to set the default program for opening a .txt file to Notepad++. I can change the default program to Wordpad, and it stays like that. If I change it to Notepad++, it immediately switches to regular Notepad. Why does this happen and how can I fix it?
Answer
I was able to recreate this issue with Notepad++ on Windows 10 Pro where Notepad++ would not stay the default. I was able to resolve it by:
Open Notepad++
On the menu bar, navigate to Settings > Preferences > File Association
In "Supported extensions", click "Notepad" and in the next panel to the right, you should see the .txt and .log extensions.
Click the .txt extension, then click the "->" right arrow to move .txt to "Registered Extensions", then you can close the Preferences window
Use File Manager and navigate to a directory with a .txt file in it.
Right-click the .txt file and select "Properties"
On the part that says "Opens with:", click the "Change" button, and select Notepad++
When you click OK, Notepad++ should now stay the default app for .txt files.
No comments:
Post a Comment