Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    right click launch npp as administrator

    Help wanted · · · – – – · · ·
    2
    3
    743
    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.
    • patrickdrd
      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
      • PeterJones
        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
        • patrickdrd
          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
          Copyright © 2014 NodeBB Forums | Contributors