Sign in Join
FPDoc Onlineexperiment

DirPathExists function

In unit LazFileUtils

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

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.