Using ambient variables such as $HOME lazarus / 1-Linux ---------------------------------------------------------------------- ThOR27 · 2005-04-20 15:26 Does any one nows how can I get thins inside Lazarus?? Or even another way to know wich is the home folder of the actual user.... tnks! ---------------------------------------------------------------------- eric · 2005-04-21 12:16 HomePath := GetEnvironmentVariable('HOME'); Eric ---------------------------------------------------------------------- matthijs · 2005-04-21 13:41 Quote from: "eric"HomePath := GetEnvironmentVariable('HOME'); This works under Linux, but it doesnot work under Windows. Under Windows you have to get the HOMEDRIVE and HOMEPATH. So there is not a platform independant way to do this. (At least not that I know of ) ---------------------------------------------------------------------- Anonymous · 2005-04-22 14:14 It worked! Thanks!