
Originally Posted by
MarkT
Showing the script and where you are having errors would be the best way to get this answered.
here is what I have so far (not even using a collection yet)
I get error on the second line at character 50 "Syntax Error"
Code:
On Error Resume Next
WSHShell.Run("c:\windows\system32\robocopy.exe" \\10.150.221.110\C$\Documents and Settings\cacharu\My Documents, C:\Users\cacharu /E /R:10 /W:10 /Z /Log+:C:\mydocs.log")
If Err.Number <> 0 Then
objTextFile.WriteLine "Error Copying My Documents Folder: "& Err.Description
Err.Clear