<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 24/03/2016 14:35, Aradeonas wrote:<br>
</div>
<blockquote
cite="mid:1458830106.3529892.558619458.211419D1@webmail.messagingengine.com"
type="cite">
<title></title>
<blockquote>
<pre class="u-article" style="margin: 0px; padding: 0px; color: rgb(31, 31, 31); font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size: 13px; line-height: 16.25px; font-family: inherit; text-align: start; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; position: relative; word-break: break-word; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">The recommende way is and has always been to use the
--pcp=path/to/config commandline parameter.
Why do you insist that it must be done in another way?
Why can you simpy use the mechanismes we have provided for just that?
If you don want a shortcut (why???) then just start it from the
console (as i do with lazarus fixes branch).
</pre>
</blockquote>
<div>Ok. One simple reason I dont like to make shortcut with
custom parameter with my apps and one good reason for that is,
Windows Taskbar that you can pin apps dont accept parameters so
if you pin you Lazarus that runs with parameters and next time
click on icon on taskbar it will open but keep another shortcut
on Taskabr.<br>
</div>
<div>It is annoying for someone likes me that like to keep my
stuff organized.<br>
</div>
<div>Second reason is Im curious, everytime I saw shortcut way for
running multiple reason and it seems there is a better reason
out there and Im a programmer I like to find a better way and
when I cant I ask from others.<br>
</div>
<div>Originally I should ask @Anthony about his works but it seems
he refuse answering or supporting about his works so I ask here
for future needs of others like me.<br>
</div>
<div> <br>
</div>
</blockquote>
<br>
That is what the lazarus.cfg file is for.<br>
<br>
Instead of supplying the parameters fer --pcp, you put them into the
cfg file.<br>
<br>
lazarus.exe, when started, looks for a lazarus.cfg file in the same
folder as the exe. If found it adds the content to its command line
params. (one per line).<br>
<br>
so if you have <br>
c:\lazarus installation of 1.6, should use config in the default
location<br>
c:\laz_trunk needs different config<br>
<br>
then you add<br>
c:\laz_trunk\lazarus.cfg <br>
with the --pcp param you need.<br>
<br>
And with that you can start c:\laz_trunk\lazarus.exe anyway you
want, it will use the pcp given in the cfg file.<br>
<br>
<br>
</body>
</html>