Unit 'msefileutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

filepath

Returns the path built from directory and filename (directory is ignored if filename starts with a root segment)

Declaration

Source position: msefileutils.pas line 136

function filepath(

  directory: filenamety;

  filename: filenamety;

  kind: filekindty = fk_default;

  relative: Boolean = False

):filenamety; overload;

function filepath(

  path: filenamety;

  kind: filekindty = fk_default;

  relative: Boolean = False

):filenamety; overload;

Description

Returns the path built from directory and filename (directory is ignored if filename starts with a root segment). filename can also start with ~/, expanded to sys_getuserhomedir()/..., or ^/, expanded to sys_getapphomedir()/....


Documentation generated on: 2026-10-03