Script functions reference > Script functions in alphabetical order > E > Exist

Exist
Syntax
Exist(str);
str
Description
Checks if a directory or file exists. The chain of directories is checked directly, i.e. session variables are not employed by the Exist function.
Returns
1
0
Examples
Exist("u/bin");
Exist("c:/data/forms");
Exist("c:/tables/abc.txt");
If the path exists, the result is True (1). If the path does not exist, the result is False (0).
OpenText StreamServe 5.6 Updated: 2013-03-01