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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
This is only the simplest way. See http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Configuration_Files for alternatives using Notepad++.
CChris
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
You probably should be using NppExec plugin instead of the basic Run... facility.
CChris