right click launch npp as administrator
-
I’m using the following in regedit:
[HKEY_CLASSES_ROOT*\shell\Notepad++\command]
@=“"D:\Utilities\PortableApps\Notepad++\notepad++.exe" "%1"”to add npp to right click, is there any way I could launch it as administrator?
-
That’s a Windows/registry question, not a Notepad++ question: it could be phrased as “how do I setup the registry to run application
blah.exe, or batch fileblah.bat, with elevated permission”. Since the same answer will suffice, no matter the values ofblah.exeorblah.bat, and it’s not a Notepad++ question, then you’ve asked in the wrong placeAs a hint for finding the solution: I believe you need to look into “runas” for the registry, but I’m not 100% sure. Good luck googling.
-
well, the answer was in npp community, not google exactly:
https://notepad-plus-plus.org/community/topic/6929/windows-10-shell-context-menu-error/5
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login