Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9135987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:53:38+00:00 2026-06-17T08:53:38+00:00

I just did a fresh install of Notepad++. While Notepad++ was closed, I opened

  • 0

I just did a fresh install of Notepad++. While Notepad++ was closed, I opened up shortcuts.xml from the C://Users/User/AppData/Roaming/Notepad++ folder (Windows7) and changed the following line:

<Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;http://localhost/redirect.php?file=$(FULL_CURRENT_PATH)&quot;</Command>

This change was suggested in an answer to another StackOverflow question: Configuring Notepad++ to run php on localhost?

When I opened Notepad++ after the change, there were no items in the “Run” dropdown menu, and shortcuts.xml was stripped to bare bones as follows:

<NotepadPlus>
    <InternalCommands />
    <Macros />
    <UserDefinedCommands />
    <PluginCommands />
    <ScintillaKeys />
</NotepadPlus>

The reason I did a fresh install was that I already ran into this problem. Although it might seem that it would be a simple matter to just copy and paste the original file, every time I restart Notepad++, the shortcuts.xml file gets wiped out. The only way that I have found to restore shortcuts.xml is by a fresh install, and it looks like there is no way to edit it without it getting wiped out.

I also tried editing the shortcuts.xml in the C://Program Files (x86)/Notepad++ folder. Although the XML file there didn’t get wiped out, any changes made there seemed to be completely ignored by Notepad++. According to the the answer in the link I posted above, that is also the wrong file to edit.

I tried Googling the problem, but I didn’t find anything.

UPDATE:

Without doing anything except for changing ‘Firefox’ to ‘Mozilla,’ it didn’t wipe out the file, but as soon as I made the other changes to the line, it wiped it out again. Once it’s wiped out, I haven’t been able to restore it without a reinstall.

This seems to indicate that it depends on what edits are made. However, I’ve seen that other people have successfully launched PHP files in localhost from Notepad++, so it looks like this version is a little buggy in some respects.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:53:39+00:00Added an answer on June 17, 2026 at 8:53 am

    I successfully modified the configuration file, but it appears trying to do so directly even with a different editor is sometimes not possible. According to the documentation (http://npp-wiki.iwi.me/index.php/Configuration_File_Editing ), it was not meant to be done that way and can be tricky. For that reason, I can’t call it a bug, because it was simply not meant to be.

    However, I accomplished the same thing through Notepad++ itself. Under the “Run” dropdown, the first item is “Run…” I clicked that, and in the text field I pasted:

    "firefox &quot;http://localhost/redirect.php?file=$(FULL_CURRENT_PATH)&quot;"
    

    And then I clicked “Save.” A new dialog box appeared to enter a name for the shortcut and key combinations. I entered “Launch in Mozilla” for the name. After clicking “OK,” it kind of gets Twilight-Zonish. It asks for another name, and after entering it and clicking “OK” it does the same thing… and so on… and so on… forever and ever… You can participate in this endless cycle as long as you wish, but I found that you can also simply close the dialog boxes, and everything works out fine.

    In the end, my configuration file remained intact even after closing and opening again.

    That’s the good news. The bad news is that the hack simply didn’t work for launching a PHP file in Firefox. In the browser the following appeared:

    file:///C:/Program%20Files%20(x86)/Notepad++/&quot;http://localhost/redirect.php?file=C:/htdocs/acrilart/hello.php&quot;
    

    With a blank screen.

    However that’s a totally different question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just did a fresh install of Ubuntu 12.04 pulling down haskell-platform from apt-get
I just did a fresh install (from source) of Python 3.3 and I installed
I am novice rails/terminal user and just did a fresh Lion install + Xcode
I just did a fresh install of Apache server 2.2. Everything works. When I
I just did a fresh install of lamp stack on ubuntu and enabled the
I just did a fresh install of SugarCRM this is my 2nd time ever
I just downloaded the latest WAMP (v 2.1) and basically did a fresh install.
I just did a fresh install of WordPress 3.2.1. I've uploaded and activated one
I just did a fresh install of RVM, JRuby, Rails, and MySQL, but I
Just did a fresh Install of Eclipse 3.5 and the Android Platform (SDK's and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.