Community
    • Login

    ShellExecute failed (2): Is this command Correct?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 3.1k 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.
    • AnatosA
      Anatos
      last edited by

      Reply for existed topic:

      Hi All, reopen this topic in case of struggling case - when you do need the Admin privileges but for some specific circumstances they break the application launch.
      Are you serious?

      ShellExecute failed (2): Is this command correct?
      “C:\Program Files (x86)\Notepad++\Notepad++.exe” “C:\Program Files
      (x86)\Notepad++\change.log”

      Fix: Navigate to C:\Program Files (x86)\Notepad++ Right mouse click the Notpad++.exe file click properties & under the compatability Tab UN-TICK run the program as administrator box DONE.

      Claudia FrankC 1 Reply Last reply Reply Quote 1
      • Claudia FrankC
        Claudia Frank @Anatos
        last edited by

        @Anatos

        Sorry but I don’t get your point. May I ask you to explain what your issue is?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Albert DonderoA
          Albert Dondero
          last edited by

          I got this same error, I marked Notepad++ to run as “Administrator” when I right click on a text file and select “Open in Notepad++”, I get this same error.

          When I try to save files, I get following message and have to click “Yes” so I can save file.

          “The File cannot be saved and it may be protected. Do you want to launch Notepad++ in Admin mode?”

          Would be nice to be able to setup the EXE to run as administrator and not have to worry or deal with the modal when trying to save.

          1 Reply Last reply Reply Quote 0
          • Abdulrahman MohamedA Abdulrahman Mohamed referenced this topic on
          • Abdulrahman MohamedA Abdulrahman Mohamed referenced this topic on
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors