<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 2020/10/04 10:09, Mr Bee via lazarus wrote:<br>
<blockquote type="cite"
cite="mid:1726263910.1561814.1601798991929@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="ydp1e0da995yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div>
<div dir="ltr" data-setdir="false">Never mind. I've found all
the Lazarus user setting files. They all are in the
"/Users/<USER>/AppData/Local/lazarus". The "AppData"
is a hidden folder, make sure you enable "Hidden Items"
option in the File Explorer. So, I just zipped the folder
and saved it somewhere else. If I broke my Lazarus setting,
I simply delete the folder and restore from the zip file.
Simple and easy.</div>
</div>
</div>
<br>
</blockquote>
<p><br>
</p>
<p>On Windows (which stores this in /Appdata) you don't need to show
hidden files - you can just type %AppData%\ in the explorer
address bar, same as when using the commandline. This will take
you directly to the Appdata folder, and while AppData itself is
hidden, all its content are not.</p>
<p>You can further, obviously, use it as part of a full filename in
both eplorer and commandline, such as:<br>
%AppData%\Lazarus\myfile.txt</p>
<p>Note that depending on the Windows setup and logged-in user
level, the direct reference to %AppData% might land you in the
"....\appdata\roaming" folder in stead of /local - to remedy that,
it's best to specify the path with an "Up-Dir" prefix ".." to
indicate the actual parent appdata directory, so to get to a file
in the Lazarus subdir in "Local", this will be the best method, it
doesn't matter which subdir of appdata you land in, it will go
up-one and then to local always:<br>
<br>
%AppData%\..\Local\</p>
<p>or for a file:<br>
</p>
<p>
%AppData%\..\Local\Lazarus\somefile.txt<br>
</p>
<p><br>
</p>
<p>
</p>
<p>PS: I'm not used to typing Windows paths, had to go back and
change all the slashes to backslashes, so if I missed one, please
adjust accordingly.<br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>