44

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:

enter image description here

How can I make Notepad++ default program for .txt files?

CiaranWelsh
  • 3,466

6 Answers6

42

How can I make notepad++ default program for .txt files?

  1. Run Notepad++ as an Adminstrator

  2. 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 .txt files:

    • Click "Close"

enter image description here

DavidPostill
  • 162,382
35

Follow the below steps

  1. Right click any .txt file and click

Open With > > Choose another app

  1. In the opened window click

More Apps

enter image description here

  1. Scroll to bottom and click

Look for anther app on this PC
enter image description here

  1. Navigate to install location of Notepad++. Default is

C:\Program Files\Notepad++

  1. And select "Notepad++.exe"
MSM
  • 689
27

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.
Edward
  • 271
5

This took me a minute, but this should help.

  1. Find a .txt file
  2. Right click it
  3. Select "Open with..." --> "Choose another app"
  4. Scroll down and select "More Apps" on the popup
  5. Select "Look for another app on this PC..."
  6. Find and select notepad++.exe
Mulli
  • 111
4

If nothing of the above works, try using this:

https://www.binaryfortress.com/NotepadReplacer/

and then Right click on the file > Open With > Choose another app and select Notepad++

lsassa
  • 84
-1

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: Opens with and a button that says . Click Change.
  4. How do you want to open files from now on? Choose .
  5. Scroll to the bottom and select Go to C:\Program Files (x86)\Notepad++ and select and select
  6. Close Properties and your done!

Credits to Kent Lasley from : https://notepad-plus-plus.org/community/topic/13051/set-notepad-as-default-app-in-windows-10