If Exist($shares.ini)

it is trying to map from $shares.ini
do you have such declared?

in the connectgroupdrives it's then trying to map:
If Exist($FileLocation + "\shares.ini")

do you have such ini?
_________________________
!

download KiXnet