Community
    • Login

    Error Code2 ShellExecute-ERROR

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 6 Posters 5.9k Views 2 Watching
    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.
    • Bill RichB Offline
      Bill Rich
      last edited by

      When I try to “run” in Chrome (the default browser) I get the above msg.

      Meta ChuhM hadush drbushH 2 Replies Last reply Reply Quote 0
      • Meta ChuhM Offline
        Meta Chuh moderator @Bill Rich
        last edited by

        @Bill-Rich

        on some chrome installations you’ll have to state the full path to chrome.exe or else chrome can not be found automatically

        workaround: edit the file shortcuts.xml in your notepad++ directory and change this line from

        <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="34">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command>

        to

        <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="34">&quot;C:\Program Files (x86)\Google\Chrome\Application\chrome.exe&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command>

        or any other path your chrome.exe might be in
        (you only have to change the word chrome to the full path of your chrome.exe)

        hope it helps

        ScarabigS 1 Reply Last reply Reply Quote 4
        • Bill RichB Offline
          Bill Rich
          last edited by

          Sorry, I couldn’t make that solution fly. I downloaded Firefox and that browser works ok…Thanks for your suggestion…

          1 Reply Last reply Reply Quote 0
          • ScarabigS Offline
            Scarabig @Meta Chuh
            last edited by Scarabig

            @Meta-Chuh

            Hello you from November 2018,
            I live in July 2020 and it’s a strange world out there (viruses are grown up and became real pain in the a…)
            Anyway, had the same error, googled it, found your fix, tried it and… problem solved!
            So I created an account in this community just to let you know and say thank you. Very very much.

            1 Reply Last reply Reply Quote 2
            • Ahmed MujtabaA Offline
              Ahmed Mujtaba
              last edited by

              I get This error every Time.

              ; about to start a child process: “— THE SCRIPT SHOWN IN THE VIDEO —”
              CreateProcess() failed with error code 2:
              The system cannot find the file specified.

              ; about to start a child process: ““new 1.exe””
              CreateProcess() failed with error code 2:
              The system cannot find the file specified.

              EkopalypseE 1 Reply Last reply Reply Quote 0
              • EkopalypseE Offline
                Ekopalypse @Ahmed Mujtaba
                last edited by

                @Ahmed-Mujtaba said in Error Code2 ShellExecute-ERROR:

                I get This error every Time.

                You haven’t said whether you tested what @Meta-Chuh posted earlier
                or if it is related to what the OP asked for? Can you post your debug-info from ? menu?

                1 Reply Last reply Reply Quote 1
                • hadush drbushH Offline
                  hadush drbush @Bill Rich
                  last edited by

                  @Bill-Rich said in Error Code2 ShellExecute-ERROR:

                  When I try to “run” in Chrome (the default browser) I get the above msg.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors