Error Code2 ShellExecute-ERROR



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



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



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



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



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



  • @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?


Log in to reply