I would like to run Notepad++Portable from a non-writeable media (I am using a lockable usb-stick).
In the readme.txt (to be found in Notepad++Portable\other\Notepad++PortableSource) I have found some hints and a Notepad++Portable.ini - file.
As described in the readme.txt the Notepad++Portable.ini looks like:
[Notepad++Portable]
Notepad++Directory=App\Notepad++
SettingsDirectory=Data\settings
Notepad++Executable=Notepad++.exe
AdditionalParameters=
DisableSplashScree=false
And as described in the readme.txt, the main switch to make Notepad++Portable running from a non-writeable media should be the SkipBackups entry, but that entry is not included in the example above.
But what is the correct syntax for SkipBackups ?
I have tried that:
[Notepad++Portable]
Notepad++Directory=App\Notepad++
SettingsDirectory=Data\settings
Notepad++Executable=Notepad++.exe
AdditionalParameters=
DisableSplashScreen=false
SkipBackups=true
Unfortunately that does not work !
Notepad starts with 2 error-messages
Load config.xml failed
and
Load stylers.xml failed
and the running Notepad++ looks rather different (and is not in my localization german).
Can anyone give me a hint how the Notepad++Portable.ini has to be customized for running from a non-writeable media?
 
      
 Visit the Community page
 Visit the Community page Join our forums
 Join our forums Subscribe to our email newsletter
 Subscribe to our email newsletter Subscribe with RSS
 Subscribe with RSS Follow us on BlueSky
 Follow us on BlueSky Follow us on Facebook
 Follow us on Facebook Follow us on LinkedIn
 Follow us on LinkedIn Follow us on Mastodon
 Follow us on Mastodon
that part in the readme is left over from an old version. Because the Launcher source doesn't show anything like SkipBackups.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
ok....thanks for that
.... does that mean - in last consequence - notepad++portable cannot be run from a non-writeable media ?
Remember, the NotepadPortable.ini is part of the launcher. Whether Notepad makes backups can be set in the config.xml file within notepad itself. Do a search/find within the file; you will see both the current setting and the syntax for chnging it. I'm looking at the config.xml from version 4.6 of Notepad++.
This is a fine editor and I use it both portably and installed.
Thanks for that hint .... I have found the config.xml.
But the backup setting is already set to "0" what means no backup .....
So I don't think that is the key for my task to make Notepad++Portable run from a non-writeable media .... !?
Move everything from Data\settings to the App\Notepad++ directory. I think that should work.
Sometimes, the impossible can become possible, if you're awesome!
I've had the same kind of settings screw up with Notepad++ Portable, only. Where I get those errors, and if defaults to the regular icons. Not sure what was messing up, but it happened a few times before.
Thank you !
That works !
And the Notepad++Portable.ini is not needed