DirectoryExists

<< Click to Display Table of Contents >>

Navigation:  Handling Events via Scripting > Objects and Functions > File management functions >

DirectoryExists

function DirectoryExists(DirName: string): boolean;

 

This function checks for the presence or not or the given directory.

 

Parameters

DirName

The full path of the directory to check for. Ex: 'C:\Files\MyDirectory'

Return value

True

The specified directory exists

False

The specified directory does not exist