Hi Tim,

Try it like shown below.
It creates a command in the $line variable and then displays it for debugging so you can see if the line is correct or if it needs modifications. Once the line is correct remove the ; in front of the shell command and remove the ?$line and sleep 5 lines.

 Code:
$line="RoboCopy " + $archpath + " " + $dest + " " + $uname
?$line
sleep 5

;Shell $line
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.