FG

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

Fresh3 days ago
Mar 15, 202682325 views
Confidence Score1%
1%

Problem

I seem to have some issue with . This is on a fresh install of Microsoft Windows 7 Professional 64-Bit. I can't seem to find any notice of this error? Or is this just some Windows 7 config issue?

Error Output

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit]

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

Low Risk

This is caused when you set Notepad++ to run as administrator on Windows 7. Go into your registry as an administrator and search for notepad++.exe. Find the key under that has an entry with the (or maybe ) and delete the entire key. Right click and you should see that you no longer have that option. Now we re-create it: Go to: Create a new key under shell called and create a subkey under that called . In the key the default string is what you want the context menu item to be called. I set it to…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment