You are here

Run feature Notepad++

4 posts / 0 new
Last post
Jacob Mastel
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-06-13 19:36
Run feature Notepad++

I Noticed in Notepad++ that there is a run feature. Well I wanted to make it launch MakeNSIS.exe in my NSIS portable folder. Is there a way to make it so that it will find the exe when the drive letter changes?

Patrick Patience
Offline
Last seen: 4 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
It Will

Try before you ask. The Notepad++ Portable launcher updates the settings file with the current drive letter, so you should be fine. If not, just use a relative path.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 19 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Automatic

As with many things here, it's automatic. The launcher will update it for you Smile

Sometimes, the impossible can become possible, if you're awesome!

Jacob Mastel
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-06-13 19:36
Did some experimenting

John there is problem with your switching. It does not move the drive letter over on the run commands. The path to the executable that you want to run is stored in (when notepad++ is not runing) Notepad++Portable\Data\settings\shortcuts.xml. It stores the full path there and then your switcher thing doesn't do the switch.

Edit: I've ran notepad++ two times on this computer in which the my drive letter is E: and the .ini in the same settings directory continues to say last drive J:

Release Team Member

Log in or register to post comments