btw, the syntax:
code:
$id = dir("c:\lotus\notes\data\*.id")
if @error = 0
? "no error"
else
@error = 1
? "there is an error"+ @serror+"You should notify the Administrator"
endif

should be
code:
$id = dir("c:\lotus\notes\data\*.id")
if @error = 0
? "no error"
else
? "there is an error"+ @serror+"You should notify the Administrator"
endif

and simpler (also faster)
code:
$id = dir("c:\lotus\notes\data\*.id")
if @error
? "there is an error"+ @serror+"You should notify the Administrator"
endif

_________________________
!

download KiXnet