It tells 2 amyway (also in not finding registry keys)

Ok,

What if you replace this :

quote:

$lehman_mesdoc="\\$machines\c$\mes documents\leh_data"

with this :

code:
$lehman_mesdoc="\\" + $machines + "\c$$\mes documents\leh_data"

additionally check if your list contains more than the Computer names ... just wild guessing here though

Hey, and what is with the space in path ? Tried additional quotes ?

[ 21. November 2002, 14:45: Message edited by: jpols ]
_________________________