Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

DirectoryExists

Check whether a directory exists in the file system.

Declaration

Source position: filutilh.inc line 225

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: Oct 02 2024