• Login
Community
  • Login

Error Code2 ShellExecute-ERROR

Scheduled Pinned Locked Moved General Discussion
6 Posts 5 Posters 4.8k 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.
  • B
    Bill Rich
    last edited by Nov 8, 2018, 2:26 AM

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

    M 1 Reply Last reply Nov 8, 2018, 12:09 PM Reply Quote 0
    • M
      Meta Chuh moderator @Bill Rich
      last edited by Nov 8, 2018, 12:09 PM

      @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

      S 1 Reply Last reply Jul 5, 2020, 5:14 AM Reply Quote 4
      • B
        Bill Rich
        last edited by Nov 10, 2018, 3:45 AM

        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
        • S
          Scarabig @Meta Chuh
          last edited by Scarabig Jul 5, 2020, 5:15 AM Jul 5, 2020, 5:14 AM

          @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
          • A
            Ahmed Mujtaba
            last edited by Jul 19, 2020, 11:51 AM

            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.

            E 1 Reply Last reply Jul 19, 2020, 6:40 PM Reply Quote 0
            • E
              Ekopalypse @Ahmed Mujtaba
              last edited by Jul 19, 2020, 6:40 PM

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