Solved Robocopy Documents error

LordSith77

New member
Hey everyone. I'm new to this forum, after doing some searching about my problem, and finding this site. I'm hoping someone here, has dealt with my particular issue before, and has a way to fix/workaround it.

Here's the scenario:
My Pictures has become excessively large (over 40GB large)
So I used the Move Target built into the Windows Explorer- right click properties to move the folder to my E drive (2TB). No problems there, and everything works the way it should. I should mention, I did this for My Videos as well.

However, I run a backup script, every night. The backup script uses robocopy to back up all my important documents/photos/videos/etc to my NAS drive (Mapped as a network share to drive Y)

My options are:
Code:
SET OPTIONS= /MIR /E /XO /FFT /COPY:DT

But now when using my script, which is:
Code:
robocopy C:\Users\LordSith77\Documents Y:\LordSith77\Documents %OPTIONS%

It works fine, UNTIL it gets to My Photos, which gives an error:
Code:
ERROR 3 (0x0000003) The system cannot find the path specified.

How do I get robocopy to stop trying to copy My Pictures/My Videos when backing up My Documents? I have those set with a different line in my backup script.

I have searched and searched, and found no page even close to my problem.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64
CPU
AMD FX-8350
Motherboard
MSI 970-GAMING
Memory
32GB PC3-12800 DDR3-1600
Graphics Card(s)
Sapphire RX480 8GB
Sound Card
Realtek
Monitor(s) Displays
Samsung SMS19A450 x3
Screen Resolution
1440x900
Hard Drives
C: LiteOn LCS-256M6S
D: Hitachi HDS5C3020BLE630
E: Hitachi HUA723020ALA641
PSU
Rosewill 1600W Modular Gaming Power Supply
Case
NZXT Phantom PHAN-001RD Red Steel
Cooling
6 Fans
Keyboard
Gaming LED
Mouse
Logitech G502
Internet Speed
100MBS
Antivirus
Malwarebytes
Browser
Google Chrome
Welcome to the forum use /xd

/XD - Excludes Paths e.g. /XD "Temp" "Temporary Internet Files"
Sometimes there is data you do not wish to copy. For example to copy a user profile will also copy temp files, using the /XD switch and specify files as above, Robocopy will skip these files speeding up the transfer.
 

My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
Welcome to the forum use /xd

/XD - Excludes Paths e.g. /XD "Temp" "Temporary Internet Files"
Sometimes there is data you do not wish to copy. For example to copy a user profile will also copy temp files, using the /XD switch and specify files as above, Robocopy will skip these files speeding up the transfer.

I thought about using the /XD option, just for that line...but after doing some more research about it, I saw a lot of people saying that robocopy pretty much ignores the /XD and copies everything anyway.

So I changed my code for that line to:
Code:
robocopy C:\Users\%USERNAME%\Documents Y:\LordSith77\Documents %OPTIONS% /XD "My Pictures" "My Videos"
And this time it worked. I did try the /XD before, but think I didn't have the "'s in place.

Thanks for helping me out, samuria. Greatly appreciate it.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64
CPU
AMD FX-8350
Motherboard
MSI 970-GAMING
Memory
32GB PC3-12800 DDR3-1600
Graphics Card(s)
Sapphire RX480 8GB
Sound Card
Realtek
Monitor(s) Displays
Samsung SMS19A450 x3
Screen Resolution
1440x900
Hard Drives
C: LiteOn LCS-256M6S
D: Hitachi HDS5C3020BLE630
E: Hitachi HUA723020ALA641
PSU
Rosewill 1600W Modular Gaming Power Supply
Case
NZXT Phantom PHAN-001RD Red Steel
Cooling
6 Fans
Keyboard
Gaming LED
Mouse
Logitech G502
Internet Speed
100MBS
Antivirus
Malwarebytes
Browser
Google Chrome
Samuria's post includes an important tip: most command lines have to be very accurately typed in :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Antec desktop; Acer Aspire laptops
OS
Windows 7 Professional 64-bit
CPU
Desktop i5; Acers i5 & i7
Memory
desktop 16GB; 1 Acer 8GB & 1 Acer 16GB
Hard Drives
1TB split into 2 equal partitions [OS and data] usable by RJS
Internet Speed
AT&T DSL
Browser
FF, GChrome, msIE
Other Info
Windows 7 Firewall, Emsisoft AM/AV, MSE [scan-only], SpywareBlaster, Ruiware/BillP combine
Back
Top