Skip to content

Notepad++ v8.4.9 regression: notepad replacement opening file name with white space bug #13032

@donho

Description

@donho

Description of the Issue

In Notepad++ v8.4.9, when Notepad++ replaces Notepad, open a file with name containing white space (by double clicking on file in File Explorer), it's showing 2 (or more) error messages to complain files don’t exist.

Steps to Reproduce the Issue

  1. Replace Notepad by Notepad++ (https://npp-user-manual.org/docs/other-resources/#notepad-replacement)
  2. Double-click on file "new1.txt" to make sure Notepad replacement is working ("new1.txt" should open in Notepad++ now).
  3. Double-click on a text file named "new 2.txt", and observe the result.

Expected Behavior

"new 2.txt" should be opened in Notepad++.

Actual Behavior

2 error messages will be shown: "new" doesn’t exist and "2.txt" doesn’t exist.

Debug Information

Notepad++ v8.4.9   (64-bit)
Build time : Jan 24 2023 - 13:28:53
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit) 
OS Version : 22H2
OS Build : 22621.1105
Current ANSI codepage : 1252
Plugins : 
    mimeTools (2.9)
    Npp-Highlighter (1.0.0.1)
    NppConverter (4.5)
    NppExport (0.4)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions