• Login
Community
  • Login

ShellExecute failed

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 499 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.
  • A
    Alter Graubart
    last edited by Jan 20, 2023, 11:45 AM

    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

    A L 2 Replies Last reply Jan 20, 2023, 12:08 PM Reply Quote 0
    • A
      Alan Kilborn @Alter Graubart
      last edited by Jan 20, 2023, 12:08 PM

      @Alter-Graubart

      Does this file exist on your system?:

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

      A 1 Reply Last reply Jan 21, 2023, 2:47 PM Reply Quote 0
      • L
        Lycan Thrope @Alter Graubart
        last edited by Jan 20, 2023, 9:13 PM

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

        A 1 Reply Last reply Jan 21, 2023, 2:50 PM Reply Quote 2
        • A
          Alter Graubart @Alan Kilborn
          last edited by Jan 21, 2023, 2:47 PM

          @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
          • A
            Alter Graubart @Lycan Thrope
            last edited by Jan 21, 2023, 2:50 PM

            @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
            • A
              Alan Kilborn
              last edited by Jan 21, 2023, 3:34 PM

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