DirectoryExists()

Determines whether a directory exists.

DirectoryExists( path=string, allowRealPath=object );

Returns: Boolean

Argument Description
path
string, required

An absolute path. Alternatively, you can specify IP address as in the following example: DirectoryExists("//12.3.123.123/c_drive/test");

Alias: absolute_path, absolutePath

allowRealPath
object, optional

boolean that defines if relative paths are interpreted or not

Examples

directoryExists("directoryPath");

See also