Menu

Run... Not working

2009-07-09
2012-11-13
  • Tristan Rhodes

    Tristan Rhodes - 2009-07-09

    Hi Guys,

    I'm trying to use the Run.. dialog box, but it refuses to open any executables. I'm using Vista and have tried running both from admin and non admin, using both absolute paths and specifying  the Path in the system variables. The Run! button displays the click highlight, but does nothing.

    Any advice?

    (Also, how do i delete saved Run links that don't work?)

    Regards

    Tris

     
    • asherber

      asherber - 2009-07-10

      If the path to the app you're trying to run contains spaces, make sure that you enclose the whole thing in quotes.

      To delete saved lines, you need to close NPP and edit the file %appdata%\Notepad++\shortcuts.xml using some other editor.

      Aaron.

       
    • cchris

      cchris - 2009-07-10

      This is only the simplest way. See http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Configuration_Files for alternatives using Notepad++.

      CChris

       
    • Tristan Rhodes

      Tristan Rhodes - 2009-07-10

      Thanks guys, i've got the run working now, but it flashes up and closes before i can see what's going on. Is there any specific syntax to get the console to stay open after the script has finished running? I've tried the following:

      cmd /K "C:\Program Files\NSIS\makensis.exe '$(FULL_CURRENT_PATH)'"
      cmd /K 'C:\Program Files\NSIS\makensis.exe "$(FULL_CURRENT_PATH)"'

      cmd /K "C:\Program Files\NSIS\makensis.exe" "$(FULL_CURRENT_PATH)"
      cmd /K 'C:\Program Files\NSIS\makensis.exe' "$(FULL_CURRENT_PATH)"
      cmd /K 'C:\Program Files\NSIS\makensis.exe' '$(FULL_CURRENT_PATH)'

      This last one seems to work sort of - but i get an odd error and it looks like a partially truncated string:
      cmd /K "C:\Program Files\NSIS\makensis.exe" '$(FULL_CURRENT_PATH)'

      I can get it to launch without the FULL_CURRENT_PATH parameter, but that's not entirely helpful :)

      Any thoughts?

      Regards

      Tris

       
    • cchris

      cchris - 2009-07-10

      You probably should be using NppExec plugin instead of the basic Run... facility.

      CChris

       
MongoDB Logo MongoDB