I see ...

You have to wrap the entire copy command in Double Quotes + the source and dest. paths also in double quotes ...
right ?

dunno if this will work , but try :

code:

shell '%comspec% /c c:\ieupdate\su.exe administrator "Copy "m:\apps\dss\decision support system.dot" "d:\program files\microsoft office\templates" /Y" ' + @wksta

hmmm ... this will maybe fail on the shell 'layer' because of the doubled double quotes


J.

[ 26 November 2001: Message edited by: jpols ]

_________________________