[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

DirectoryExists

Check whether a directory exists in the file system.

Declaration

Source position: filutilh.inc line 85

function DirectoryExists(

  const Directory: String

):Boolean;

Description

DirectoryExistschecks whether Directoryexists in the filesystem and is actually a directory. If this is the case, the function returns True, otherwise Falseis returned.

See also

FileExists

  

Check whether a file exists in the filesystem.