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.
    • patrickdrdP
      patrickdrd
      last edited by

      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
      • PeterJonesP
        PeterJones
        last edited by

        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
        • patrickdrdP
          patrickdrd
          last edited by

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors