Notepad++:Is there a way to fix the fact that I can't run Chrome from the run menu?

While browsing another unrelated Notepad++ answer, I came across something that helped me to figure out how to work around the problem (thanks jweede!!) Here is the documentation.

  1. Under the Run menu, click Run.
  2. Browse to wherever your Chrome executable is, mine is in C:\Users\(current user)\AppData\Local\Google\Chrome\Application\chrome.exe This path will now appear in the box.
  3. Put quotation marks around the entire path AND a space after the last quotation mark (important)! Then type "$(FULL_CURRENT_PATH)"in the box, after the space.
  4. Click "Run" in the dialog and it should open your current Notepad++ file in Chrome. If all is well, click "Save" and name your new shortcut and assign a keyboard shortcut.

Why did you try replacing the FULL_CURRENT_PATH part? This is for the currently opened text file.

Replace the "Chrome" part with the place where Chrome is.

Example:

<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">&quot;c:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\Application\chrome.exe&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command>

Please focus the additional "&quot;" I put there. These are there because the path to Chrome contains spaces.

Example when used in cmd:

C:\>c:\programme\internet explorer\iexplore.exe
Der Befehl "c:\programme\internet" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

C:\>

I am using German Windows and it says it can't find the command "c:\programme\internet". It thinks the command I am trying to run is "C:\Programme\Internet" with a parameter of "Exporer\iexplore.exe"

C:\>"c:\programme\internet explorer\iexplore.exe"

C:\>

This runs Internet Explorer instantly. The reason nothing comes up is that Internet Explorer just doesn't write anything to the console when starting.


  1. Copy a Google Chrome shortcut icon into the Notepad++ folder

  2. Rename it chrome

You will need admin approval.

enter image description here