One thing I noticed I have the $SO=SETOPTION("NoVarsInStrings", "ON"). So I changed my command to Shell "C:\Windows\System32\robocopy" + cmds. I get ERROR: unknown command C:\Windows\System32\robocopy