-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Description of the Issue
Having replaced stock notepad with notepad++ in registry according to the docs, selected formats open in notepad++ v8.4.8 but now additionally display a Cannot open file " ". (whitespace within doublequotes) error.
This can be observed by doubleclicking .ps1 powershell files, or opening registry .reg files with the Edit action in the file context menu. Other file formats defaulting to Edit on open may be affected as well. Standard .txt files, as well as files potentially associated with (windows) notepad by the user (for example .cfg, .json , .log, .xml ...) are unaffected.
Steps to Reproduce the Issue
- Replace notepad with notepad++ in registry according to the documentation
- Create a dummy test.ps1 or test.reg with any content
- Doubleclick test.ps1, or rightclick->Edit test.reg
Expected Behavior
File opens (notepad++ <=v8.4.7)
Actual Behavior
File opens, but a Cannot open file " ". message box is displayed first (notepad++ v8.4.8)
Debug Information
Notepad++ v8.4.8 (64-bit)
Build time : Dec 24 2022 - 19:40:27
Path : C:\npp\notepad++.exe
Command Line : -notepadStyleCmdline -z "C:\Windows\System32\notepad.exe" "C:\test\test.ps1"
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 22H2
OS Build : 19045.2364
Current ANSI codepage : 1250
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
