[转]解决右键用notepad++打开提示【ShellExecute failed (2): Is this command Correct? (Fix) 】

最近发现右键使用notepad++打开文件时提示如下错误:

ShellExecute failed (2): Is this command Correct? ...

经用搜索引擎搜索得知,应该是开启了notepad++的【以管理员身份运行此程序】选项而导致的。

解决方法:

找到notepad++.exe,右击之,进入【兼容性】选项卡然后取消勾选【以管理员身份运行此程序】,最后【应用】并【确定】即可。

本人环境:Windows10,win7估计也是一样的方法。

Notepad++是安装C盘默认的软件安装目录。

解决方法来自:https://notepad-plus-plus.org/community/topic/10945/shellexecute-failed-2-is-this-command-correct-fix

原文地址:https://www.cnblogs.com/pengchenggang/p/10081064.html