Julian,

Don't think a 10-15 second sleep is needed. Maybe a second or two at most.

Try this..

Make a simple test KiXtart script with just the following line -

code:
copy "kxrpc.exe" "\\DCSERVER\admin$\system32"

If that still does not work, try -

code:
copy "kxrpc.exe" "\\DCSERVER\admin$$\system32"

Once you get this to work, replace that back in the main script (replacing \\DCSERVER with $target) and go..

Please let us know if this does/does not work. [Wink]

HTH,

Kent

[ 10. June 2003, 14:47: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's