[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

DirPathExists

Indicates if the specified directory name exists on the local file system.

Declaration

Source position: lazfileutils.pas line 41

function DirPathExists(

  DirectoryName: string

):Boolean;

Arguments

DirectoryName

  

Directory Name to locate.

Function result

True when the specified directory exists in the file system.

Description

DirPathExists is a Boolean function which indicates if the specified directory name exists on the file system. DirectoryName can contain a trailing path delimiter, but it is removed in the function. DirPathExists calls DirectoryExistsUTF8 to get the return value.

See also

DirectoryExistsUTF8

  

Determine if the specified path exists on the local file system.


Version 3.2 Generated 2024-02-25 Home