notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Unable to associate notepad++ with text files on windws 7
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the Issue
File association for NPP with text files is missing when is installed in D:\Notepad++\notepad++.exe
Steps to Reproduce the Issue
- Create
test.txtfile on the desktop - Right click on it and select properties
- Opens with... Click [Change]
- Click [Browse] and enter
D:\Notepad++\notepad++.exe - Nothing is changed. File opens by the regular
notepad.exe - Try via the internal NPP association ( greyed out )
Expected Behavior
File to be opened with NPP after being added.
Actual Behavior
File is not opened with NPP after association and supported associations is greyed out
Debug Information
Notepad++ v7.8.6 (64-bit)
Build time : Apr 21 2020 - 15:23:03
Path : D:\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : ON
OS Name : Windows 7 Ultimate (64-bit)
OS Build : 7601.24546
Plugins : mimeTools.dll NppConverter.dll NppExport.dll
The open with NPP option is fixed after adding the registry key:

The NPP internal association being greyed out is fixed by running NPP as administrator.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files, tests, or entry points. Start by reproducing the association failure on Windows 7 with Notepad++ installed at D:\Notepad++\notepad++.exe, then inspect the file-association and internal-association behavior described; done means text files open with Notepad++ and the supported-associations option works without the reported workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100