Originally Posted By: Lonkero
can I ask what you are testing for here:
If $LDRIVE <> $LDR

they are always different, again.
LDR will always have "lokaldrive_" in it and LDRIVE will either be empty or have UNC.
but still they are always different.
Also, the IF is outside of the DO - UNTIL loop.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.