>Has anyone ran across the DIRECTORY() function failing. I am using it to see if a dir exists and if not I create it to keep my temporary files in and clean it up upon exit.
>
>I have 1 user that this command fails on. He is running NT and I have tested on and have several users running NT and 2000. DIRECTORY(pctemdir) fails saying the directory does not exist when in fact it does.
>
>If the directory does not exist I create it and this is where the error shows up. You cannot create a directory that is already there.
>
If there's a File with the same name as a Folder you check for, DIRECTORY() accurately reports the directory is not present, and you can't create a folder with the same name as a file, so that's the most likely error.