Community
    • Login

    ShellExecute failed

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 471 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.
    • Alter GraubartA
      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 KilbornA Lycan ThropeL 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Alter Graubart
        last edited by

        @Alter-Graubart

        Does this file exist on your system?:

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

        Alter GraubartA 1 Reply Last reply Reply Quote 0
        • Lycan ThropeL
          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 GraubartA 1 Reply Last reply Reply Quote 2
          • Alter GraubartA
            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 GraubartA
              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 KilbornA
                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
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors