You are here

Notepad++ running from a locked usb-stick

8 posts / 0 new
Last post
peter_g
Offline
Last seen: 10 years 5 months ago
Joined: 2006-09-09 05:54
Notepad++ running from a locked usb-stick

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?

Simeon
Simeon's picture
Offline
Last seen: 8 years 3 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
AFAIK

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

peter_g
Offline
Last seen: 10 years 5 months ago
Joined: 2006-09-09 05:54
ok ....

ok....thanks for that

.... does that mean - in last consequence - notepad++portable cannot be run from a non-writeable media ?

alanbcohen
Offline
Last seen: 3 years 5 months ago
Joined: 2006-01-04 10:47
Can be set in the config.xml file

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.

peter_g
Offline
Last seen: 10 years 5 months ago
Joined: 2006-09-09 05:54
I have found .....

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 .... !?

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

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!

Patrick Patience
Offline
Last seen: 3 years 1 month ago
DeveloperModerator
Joined: 2007-02-20 19:26
Should Note

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.

peter_g
Offline
Last seen: 10 years 5 months ago
Joined: 2006-09-09 05:54
That works !

Thank you !

That works !

And the Notepad++Portable.ini is not needed

Log in or register to post comments