Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Robocopy Documents error

1 Week Ago   #1
LordSith77

Windows 7 Ultimate x64
 
 
Robocopy Documents error

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 System SpecsSystem Spec
.
1 Week Ago   #2
samuria

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.
My System SpecsSystem Spec
1 Week Ago   #3
LordSith77

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by samuria View Post
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 System SpecsSystem Spec
.

6 Days Ago   #4
RolandJS

Windows 7 Professional 64-bit
 
 

Samuria's post includes an important tip: most command lines have to be very accurately typed in
My System SpecsSystem Spec
Reply

 Robocopy Documents error




Thread Tools




Similar help and support threads
Thread Forum
ROBOCOPY error 53, 0x00000035
Running a windows 7 pro 64bit workstation on a network with a win2012 server DC. I have been using two seagate blackarmor NAS units copying from one to the other for redundancy. One is starting to fail so I built a FreeNAS box with more capacity and drives. When attempting to run a robocopy script...
Network & Sharing
Robocopy ERROR 5 (0x00000005) and Corrupted User Permissions
I'm trying to robocopy a large folder from the command line (run as Administrator) and on certain files I get an error 5 "Access Denied." Looking at the files' security reveals that the only user with access is a garbled, nonsensical user name as seen here: ...
General Discussion
robocopy is stuck looking in C:\Users\jack\Documents\My Music\
I am doing a robocopy as follows: robocopy C:\Users\jack\Documents e:\WindowsBackup\Documents /mir >> e:\WindowsBackup\backup.log The /mir option simply logs the progress. This goes for a while and copies more than a GB then gets stuck accessing: C:\Users\jack\Documents\My Music\ and...
General Discussion
Robocopy Backup - ERROR 5 (0x00000005)
Hi, I'm wondering if anyone might be able to shed some light on why I am getting the following such errors when running a robocopy batch file (as administrator) which cause the backup script to stall (- albeit temporarily): I am using the following backup command: robocopy "%srcPath%\My...
Backup and Restore
Robocopy - Access denied Error 5 Real Directory
Hello folks, I know similar questions have been asked but I "might" have a unique one. What I have been trying to do is to copy the "C:\Users", "C:\Program Files", & "C:\Program Files (x86)" to another clean hard drive "D:\". I'm doing this to make more room for the OS in the C: drive while...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App