Community

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

    ShellExecute failed

    General Discussion
    3
    6
    97
    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.
    • Alter Graubart
      Alter Graubart last edited by

      Found several (very)old posts regarding this, but never a final solution. Happens when choosing “Edit with Notepad++” from the context menu.
      Running latest Windows 11 with a fresh install of NP++
      219759b9-4a25-44f0-b0af-06ed27d7874a-grafik.png

      Alan Kilborn Lycan Thrope 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @Alter Graubart last edited by

        @Alter-Graubart

        Does this file exist on your system?:

        C:\Program Files\Notepad++\notepad++.exe

        Alter Graubart 1 Reply Last reply Reply Quote 0
        • Lycan Thrope
          Lycan Thrope @Alter Graubart last edited by

          @Alter-Graubart ,
          Do a search on your error condition. I came up with at least two that sound feasible, beginning with one that pointed out that a Norwegian character was causing the problem, and one that suggested someone was in Administrator mode when they created the shortcut and needed to delete and redo the registry hack.

          Bottom line, however, is that this is a Microsoft OS issue, not specifically a Notepad++ issue as it happens with all kinds of applications. First start with the OS, then move to the application. Most of these problems originate with Microsoft’s rules and peculiarities.

          Alter Graubart 1 Reply Last reply Reply Quote 2
          • Alter Graubart
            Alter Graubart @Alan Kilborn last edited by

            @Alan-Kilborn said in ShellExecute failed:

            @Alter-Graubart

            Does this file exist on your system?:

            C:\Program Files\Notepad++\notepad++.exe

            Of course

            1 Reply Last reply Reply Quote 0
            • Alter Graubart
              Alter Graubart @Lycan Thrope last edited by

              @Lycan-Thrope said in ShellExecute failed:

              @Alter-Graubart ,
              Do a search on your error condition. I came up with at least two that sound feasible, beginning with one that pointed out that a Norwegian character was causing the problem, and one that suggested someone was in Administrator mode when they created the shortcut and needed to delete and redo the registry hack.

              Bottom line, however, is that this is a Microsoft OS issue, not specifically a Notepad++ issue as it happens with all kinds of applications. First start with the OS, then move to the application. Most of these problems originate with Microsoft’s rules and peculiarities.

              Seems that I found the issue: For whatever reason, the installer sets the “run as admin” checkbox in the file properties of the .exe. removing this solves the issue.

              1 Reply Last reply Reply Quote 2
              • Alan Kilborn
                Alan Kilborn last edited by

                Does this file exist on your system?:

                Of course

                There are a number of posters here for whom this is not a foregone conclusion! :-)

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Copyright © 2014 NodeBB Forums | Contributors