>I'm having touble figuring out how to determine if a directory exists. I've tried FILE(fullpath) and FILE(fullpath\.) etc...
>
>Any easy way?
There are two easy approaches that I use; either ADIR(
aRandomArray,"directory name",'D') > 0 and "D" $
aRandomArray[1,5] (some problems with name formation in network environments) or use FCREATE() to try creating a file in the directory - it will fail if the directory doesn't exist, but also will fail if the user doesn't have the necessary privileges to write/create in the dirctory.