My application needs to run Lazarus and / or FPC. Therefore I would need to develop a cross platform procedure that automatically finds the absolute path of the Lazarus and FPC executables. I thought about using the information in environmentoptions.xml, but this file does not contain all the necessary information. Furthermore, it is not even trivial to write a procedure that finds a file with a certain name that works well on all file systems due to the their different organization (for example in FAT and NTFS, all drives must be enumerated, because they do not have a root directory). Do you have any suggestions? Thank you.