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

DirPathExists

Indicates if the specified directory name exists in the file system

Declaration

Source position: lazfileutils.pas line 40

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 in the file system. DirectoryName can contain a trailing path delimiter, but it 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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.