On 11/08/2015 06:55 AM, fred wrote:
begin
   repertoire := ExtractFileDir(Application.ExeName);
end ;

that will get you the application's directory which may not be the user's current directory...

--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list* unless
       private contact is specifically requested and granted.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to