How do I check to see if a file is a folder or directory using Script in Lotus Notes. IsFolder function. LotusScript file exists.
How do I check to see if a file is a folder or directory using Script in Lotus Notes. IsFolder function. LotusScript file exists.
| Answer | Function isFolder(Byval sFolderPath As String) As Integer
Const ATTR_DIRECTORY = 16
isFolder = False
If Dir$(sFolderPath, ATTR_DIRECTORY) <> "" Then isFolder = True
End Function |
| Attachments | -none- |
| Applies to versions | 4.x; 5.x; 6.x |
| FAQ Provided By | Steven Charles Robinson |
| Credit | |
 |  |
|
|