Menu

Feature Request: Custom path

2008-01-30
2012-11-13
  • Nobody/Anonymous

    I noticed in the Run Menu that you can open a file in firefox just by having the text 'firefox "$(FULL_CURRENT_PATH)" in the shortcuts.xml file, yet my computer doesn't have firefox in the path. The same is not possible for say, opera, or any programs I have installed on my flash drive.

    This leads me to believe that there is some kind of path whether it is hardcoded or is in a file. Having an editable path file would be great. Especially for those of us who use any kind of portable applications that run off of our flash sticks. If that's not posible, a variable for the drive letter where npp is running from would also work.

     
    • Harry

      Harry - 2008-01-30

      You can work aroudn this by using
      "$(NPP_DIRECTORY)\..\Firefox\firefox.exe" or something similar, depending on the directory structure of your flashdrive (this assumes the Firefox directory is at the same level as the Notepad++ directory).

       
    • Nobody/Anonymous

      Thank you, that worked. This will allow me to run programs exclusively off of my flash drive, without having to worry about whether they are installed on the computer I am using.

       
    • Don HO

      Don HO - 2008-01-31

      > This leads me to believe that there is some kind of path whether it is hardcoded or is in a file.

      There's no hard coded path in Notepad++.
      It's just the pathes of IExplorer and Firefox are pushed in the environment variable %PATH% when they're installed. It's not the case of Opera (AFAIK), that's why Opera is not added in the run menu.

      BTW, the run menu is not coded in Npp, you can add your run item via Run dialog.

      Don