• Login
Community
  • Login

right click launch npp as administrator

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    patrickdrd
    last edited by Oct 25, 2018, 9:08 AM

    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?

    1 Reply Last reply Reply Quote 0
    • P
      PeterJones
      last edited by Oct 25, 2018, 1:18 PM

      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 file blah.bat, with elevated permission”. Since the same answer will suffice, no matter the values of blah.exe or blah.bat, and it’s not a Notepad++ question, then you’ve asked in the wrong place

      As 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.

      1 Reply Last reply Reply Quote 1
      • P
        patrickdrd
        last edited by Oct 25, 2018, 2:01 PM

        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

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors