Sign in Join

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

Mailing lists / lazarus / 2013-12

Changing tempdir via startup parameters

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

William Oliveira Ferreira

Hi List,

I can use --pcp=blablabla to make lazarus use a different config file, but, i wanna change a special setting: 'Temp Dir'. Is it possible?

I wanna install Lazarus on a PenDrive and develop on any windows machine i plug it and i don't wanna use my pendrive as tempdir..

________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131202/fcdae259/attachment.html>

Reply by email

Mattias Gaertner
to William Oliveira Ferreira
Hi List, I can use --pcp=blablabla to make lazarus use a different config file, but, i wanna change a special setting: 'Temp Dir'. Is it possible?

The IDE uses the TEMP environment variable by default for the test directory. So you can set the environment variable. Or you can set the Test directory to "$ENV(LAZTEMP)" without the quotes and then set the LAZTEMP environment variable. For example under Unix with bash:

export LAZTEMP=~/tmp && ./lazarus

I wanna install Lazarus on a PenDrive and develop on any windows machine i plug it and i don't wanna use my pendrive as tempdir..

Mattias

Reply by email

William Oliveira Ferreira
to Mattias Gaertner

thanks, i'll try it...

2013/12/2 Mattias Gaertner

Show quoted text 31 lines
On Mon, 2 Dec 2013 14:29:37 -0200 William Oliveira Ferreira wrote: > Hi List, > > I can use --pcp=blablabla to make lazarus use a different config file, but, > i wanna change a special setting: 'Temp Dir'. Is it possible? The IDE uses the TEMP environment variable by default for the test directory. So you can set the environment variable. Or you can set the Test directory to "$ENV(LAZTEMP)" without the quotes and then set the LAZTEMP environment variable. For example under Unix with bash: export LAZTEMP=~/tmp && ./lazarus > I wanna install Lazarus on a PenDrive and develop on any windows machine i > plug it and i don't wanna use my pendrive as tempdir.. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131202/2c1bb5fd/attachment.html>

Reply by email