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

DirectoryExists

Check whether a directory exists in the file system.

Declaration

Source position: filutilh.inc line 179

function DirectoryExists(

  const Directory: UnicodeString;

  FollowLink: Boolean = True

):Boolean;

function DirectoryExists(

  const Directory: RawByteString;

  FollowLink: Boolean = True

):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

FileExists

  

Check whether a particular file exists in the file system.


Documentation generated on: May 14 2021