[Lazarus] Path that .exe file is running from

Reinier Olislagers reinierolislagers at gmail.com
Thu Aug 1 21:09:21 CEST 2013


On 01/08/2013 20:56, Richard Mace wrote:
> Hi,
> How can I get the path of where my application is running from?
> I have tried Application.Name but "Application" is not found?
> 
e.g. paramstr(0)

Note: getting the exe path is not guaranteed to work on all platforms
(e.g. OSX). Please see the documentation as well as the multiplatform
programming articles on the wiki.





More information about the Lazarus mailing list