I would like .txt files to open with Notepad++ by default in Windows 10. I have found the options to change file associations but there is no option to specify custom programs. Here's a screen shot:
How can I make Notepad++ default program for .txt files?
6 Answers
Follow the below steps
- Right click any .txt file and click
Open With > > Choose another app
- In the opened window click
More Apps
- Scroll to bottom and click
- Navigate to install location of Notepad++. Default is
C:\Program Files\Notepad++
- And select "Notepad++.exe"
How can I make notepad++ default program for .txt files?
Run Notepad++ as an Adminstrator
Menu > Settings to open the "Preferences" dialog
Click "File Association"
Click "Notepad", then
Click ".txt". then
Click "->" to register notepad++ as the program to edit
.txtfiles:Click "Close"
With Windows 10 (Oct 2018) this worked for me:
- Open Notepad++ as an administrator and then follow the steps posted by DavidPostill above
then
- Go through the normal Windows process of right click "Open With >" > "Choose another app" and click the "Always use this app to open .txt file" box.
This took me a minute, but this should help.
- Find a .txt file
- Right click it
- Select "Open with..." --> "Choose another app"
- Scroll down and select "More Apps" on the popup
- Select "Look for another app on this PC..."
- Find and select notepad++.exe
If nothing of the above works, try using this:
and then Right click on the file > Open With > Choose another app and select Notepad++
0Okay, here is a work around:
- Create a dummy file with the extension you wish to default to your program. The file can be empty.
- Right click on the dummy file and select Properties.
- On the General tab there is a section that states: Type of file: Opens with and a button that says . Click Change.
- How do you want to open files from now on? Choose .
- Scroll to the bottom and select Go to C:\Program Files (x86)\Notepad++ and select and select
- Close Properties and your done!
Credits to Kent Lasley from :
1