you don't need:
AND READVALUE($loc,'RemotePath')<>''

at all.
_________________________
!

download KiXnet