Dear,

We have test your script. Following works in our situation:

code:
shell '%comspec% /c xcopy /d /s "\\someserver\someshare\somedir\*.*" "c:\aaa\"'

The big differences are
- "%comspec%" instead of "CMD"
- use "c:\aaa\" instead of "c:\aaa\*.*"
greetings.

btw: we advise to use as additional XCOPY options /Y /C /R /I /H
_________________________
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