I would still look at share permissions.

anyway, to get the actual error place, do it like:

IF OPEN (2,$inventoryFile,5) = 0
? "opened:" @error
$x = WriteLine (2, @FullName)
? "writeline:" @error
$x = CLOSE(2)
? "close:" @error
ELSE
? "not opened:" @error
ENDIF
_________________________
!

download KiXnet