DirectoryExists

Check whether a directory exists in the file system.

Declaration

Source position: filutilh.inc line 183

  function DirectoryExists(const Directory: UnicodeString; 
                          FollowLink: Boolean) : Boolean;
  function DirectoryExists(const Directory: RawByteString; 
                          FollowLink: Boolean) : Boolean;

Description

DirectoryExists checks whether Directory exists in the file system and is actually a directory. If this is the case, the function returns True, otherwise False is returned.

See also

Name Description
FileExists Check whether a particular file exists in the file system.