That bombs because you've copied a robocopy "job" file and are trying to run it.
Save the lines below the one with "robocopy" in it as "CopyProfiles.rcj" or whatever.rcj
Then add /job:"CopyProfiles.rcj" to the robocopy line:
robocopy "\\TS-server\c$\documents and settings" "c:\documents and settings" /job:"CopyProfiles.rcj"
With CopyProfiles.rcj containing
/COPYALL /S
/XD "\\TS-server\c$\documents and settings\Administrator"
"\\TS-server\c$\documents and settings\LocalService"
"\\TS-server\c$\documents and settings\NetworkService"
"\\TS-server\c$\documents and settings\Default User"
"\\TS-server\c$\documents and settings\All Users"
But then again: why don't you just use roaming (terminal services) profiles?