ExistDir Function

Checks if the specified directory exists

Arguments

Number Type Compulsory Default Description
1 string Yes Directory name

Returns

Return type: real

Function returns a real scalar with one of three values:

Index Description
0 Directory does not exist
1 Directory exists with write privilege
2 Directory exists but with no write privilege