DIRECTORY()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to check whether directory exists

Syntax

DIRECTORY(<expC>[,<expN>])

See Also

DATABASEEXISTS(), FILE(), SET FILECASE, SET PATH, TABLEEXISTS()

Description

The DIRECTORY() function returns .T. if the directory specified in <expC> exists and .F. otherwise.

Example

? directory("C:\Lianja\Apps\lianjademo")