I apologize if this is an easy question but I'm having so much difficulty checking to see a directory exists with LotusScript. Here's what I have so far:
pathName$ = "....images" + artID + "" + artNum + ""
dirTest$ = "....images" + artID + ""
If Dir$(pathName$ , ATTR_DIRECTORY) = "" Then
MsgBox "No Dir"
Else
MsgBox "Dir Found!"
End If
I've already tried to put MSGBOX's before pathname$ / the DIR call but it's failing when it gets to the test. Can someone help me out here?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: