Dear,

We have take a close look. We doesn't see a situation of hanging script.
Only we will suggest to use internal USE command for windows 2000 & XP. It can
return more error information.
Also some errors aren't critical. Before changing or deleting registry key we prefer
to use KeyExist function.

Also we advise to use $$ instead of $ in your function calls.

code:
yamd ("S","\\MD-DC01\systeembeheer$$","Systeembeheer")
yamd ("I","\\MD-DC01\Installation & Support$$","Installation & Support")

Please return debugging information after a script-hang.
Please let us know how we can help you further.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA