File Directory

Does anyone knows how to check if a directory exists in windows via lotus script?

I would like to create a temporary directory on the user’s machine. However I will have to check if the directory exists, before I creates them, otherwise the system will gives error.

I can create them using mkdir. BUt how do I check if it already exists?

ANy ideas?

Thanks!

Subject: File Directory

Hi Micki.You can check if a directory exits with:

if Dir(“c:\DirectoryName”,16) then

…

End if

I use it and it works…:slight_smile:

/Jocke

Subject: RE: File Directory

Thanks, it works…