This worked for me. Changed it a bit to support your situation. Simple code, no need for array's and stuff.
Assuming that you don’t have systems running old and new installs (if that's at all possible).
code:
;Check if file exist on system.
$LocationA = Exist("c:\Lotus\Notes\Data\bookmark.nsf")
$LocationB = Exist("C:\Program Files\Notes\Data\bookmark.nsf")
;Check if old, new or no install.
Select
Case $LocationA = 0 AND $LocationB = 0
MessageBox("File Bookmark.nsf not found on system.","File search...",64)
Case $LocationA = 1
MessageBox("File Bookmark.nsf found in c:\Lotus\Notes\Data\ (old install).","File check...",64)
Case $LocationB = 1
MessageBox("File Bookmark.nsf found in C:\Program Files\Notes\Data\ (new install).","File check...",64)
EndSelect
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.