XbZ_DirExists()
Previous  Top  Next

XbZ_DirExists() - Check if Directory exists on Disk.

Syntax

XbZ_DirExists(cDirName) --> lExists  

Parameters

<cDirName>  
<cDirName> contains the (relative or fully qualified) Directory Name (with or without Path) that should be checked for existence. If no Path or a relative Path is given, the directory is searched for in the Current Directory of the Current Drive or in the given relative path from the Current Directory of the Current Drive.  

Returns

This functions returns .T. (TRUE) if <cDirName> exists and is a Directory or .F. (FALSE) if not.  

Description

This functions checks if the directory <cDirName> exists. It is basically a wrapper function for FExists().  

Example

LOCAL lExists := XbZ_DirExists("C:\TEST\ABC\")