Skip to content

ShellExecute failed error when using "Edit with Notepad++" R-click context menu option #4368

@chaosblad3

Description

@chaosblad3

Description of the Issue

I wanted Notepad++ to always "run as administrator", so I found the .exe and checked that option on the compatibility tab, but now whenever I try to open a file with the right-click > Edit with Notepad++ option I get the error message "Notepad++ Extension: Error", "ShellExecute Failed (2): Is this command correct?" with the path to the Notepad++ exe on the next line followed by the path to the file I was trying to open...

Steps to Reproduce the Issue

  1. Check the "Run this program as an administrator" option in the exe properties menu
  2. try to open any file using the "Edit with Notepad++" option in the windows right-click context menu.

Expected Behavior

The file opens, with notepad++ in administrator mode

Actual Behavior

I get the following and the program does not open.
screenshot of error

Debug Information

Notepad++ v7.5.6 (32-bit)
Build time : Mar 19 2018 - 00:26:59
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions