IsDirectoryExists function
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function DirectoryExists(DirName: String): Boolean;  

Description
The DirectoryExists function determinates wether a directory specified in DirName parameter exists. If the directory exists, the function returns True. If the directory does not exist, the function returns False.  
 
If a full path name is entered, DirectoryExists searches for the directory along the designated path. Otherwise, the DirName parameter is interpreted as a relative path name from the current directory.  

See also
DirectoryEmpty function.