Robocopy Batch File

I have added the following lines in a robocpy batch file. However, the folder "Personal" is still copied to backup G: drive. Any idea ?

Thx

ROBOCOPY "C:\Users\john\Documents" g:\Documents /XD "C\Users\john\Documents\Personal" /MIR /Z /XA:H /W:5
AXISHKAsked:
Who is Participating?
 
Dariusz TykaConnect With a Mentor ICT Infrastructure Specialist Senior Commented:
Do you miss colon in exclusion path? Or is it simple typo here on EE?
0
 
AXISHKAuthor Commented:
Sorry, which colon do u mention ? Can u send me a full line ?
0
 
AXISHKAuthor Commented:
Thx.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.