Lotus Notes FAQ Visit Our Sponsor!

How can I see if the directory exists using LotusScript?

You can use the DIR$ command like so:

If Dir$(dirName, ATTR_DIRECTORY) = "" Then
     'Directory does not exist
Else
     'Directory does exist
End If


Applies to Notes Versions: 4 4.5 4.6 5
Last Modified: November 3, 1997