DADiSP Worksheet Functions > Function Categories > File Manipulation > DIREXISTS
Returns 1 if directory exists.
DIREXISTS("dirname")
"dirname" |
- |
A string, the name of the directory to test. |
An integer, 1 if the directory (folder) exists.
direxists("spl")
returns 1 if an spl directory exists in the current directory.
direxists(gethome + "spl")
returns 1 if an spl directory exists in home (installation) directory.
direxists("\windows\system32")
returns 1 if the directory \windows\system32 exists.
DIREXISTS tests for directory existence.
See FILEEXISTS to test if a file exists.