Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

Where does lazarus store its settings (Win XP)?

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

In a previous thread I was told that lazarus saves its settings into a directory below %APPDATA% which expands to:

C:\Documents and Settings\UserName\Application Data\lazarus\

I have now installed CodeTyphon in order to get a system for cross-compilation and I want to redirect this lazarus to a specific folder for its settings using the command line argument:

C:\lazarus\lazarus.exe --pcp=C:\lazarus\config

So I have created the C:\lazarus\config dir and now I "just" need to copy over the settings CodeTyphon created during installation into this folder.

But the problem is that I cannot find it!

When the CodeTyphon lazarus is started by doubleclicking the exe file all is fine and it loads all of its proper settings. I have modified the editor color scheme and this seems to stick, so lazarus is definitely storing this somewhere.
But I have searched the whole "Documents and Settings" folder tree for the word lazarus and it comes up empty handed.
My Application Data folder contains directories for other applications I use but not for lazarus.

So I assume that it saves the data elsewhere, but how can i find out where?

Anyone here that knows????

Bo Berglund Developer in Sweden

Reply by email

Bo Berglund
to Bo Berglund
Bo Berglund wrote
So I assume that it saves the data elsewhere, but how can i find out where?

I realized I could check the name of a config file and then search my disk for that file...
Found editoroptions.xml in:
C:\lazarus\bin32\settings

So now my CodeTyphon lazarus settings are found and I have successfully modified the shortcut so it starts with the right settings.

Bo Berglund Developer in Sweden

Reply by email