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.


Log in to reply