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 not copying My Document files

08 Sep 2014   #11
Tookeri

Windows 7 Pro 32
 
 

Quote   Quote: Originally Posted by CC123 View Post
For some reason it created the My Documents and Documents directories which can only be seen through cmd with dir /a
See this: ROBOCOPY hides destination Directory


My System SpecsSystem Spec
.
08 Sep 2014   #12
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
My Documents vs Documents

Additional Info.

See the default junctions (copied from software that I use to restore default junctions if I ever screw them up)

Code:
[Default]
Application Data=AppData\Roaming
Cookies=AppData\Roaming\Microsoft\Windows\Cookies
Local Settings=AppData\Local
My Documents=Documents
NetHood=AppData\Roaming\Microsoft\Windows\Network Shortcuts
PrintHood=AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Recent=AppData\Roaming\Microsoft\Windows\Recent
SendTo=AppData\Roaming\Microsoft\Windows\SendTo
Start Menu=AppData\Roaming\Microsoft\Windows\Start Menu
Templates=AppData\Roaming\Microsoft\Windows\Templates
AppData\Local\Application Data=AppData\Local
AppData\Local\History=AppData\Local\Microsoft\Windows\History
AppData\Local\Temporary Internet Files=AppData\Local\Microsoft\Windows\Temporary Internet Files
Documents\My Music=Music
Documents\My Pictures=Pictures
Documents\My Videos=Videos
And have a read through this:

Problems with Robocopy

So with that in mind try excluding junctions. I think that this script will work:

robocopy C:\Users\C.C\Documents D:\Documents /MIR /XJ /np /tee /mt /log+:C:\Users\C.C\Desktop\my_backup_log.txt
My System SpecsSystem Spec
Reply

 Robocopy not copying My Document files




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Used Robocopy and deleted my files - how can I recover them?
Hi I've just re-organised my hard drives and I've set up a batch routine to backup my files, using Robocopy. However, as I swapped my drives around, I've copied in the wrong direction. Robocopy has consequently deleted entire folders of important data. The data isn't in the recycle bin. ...
Backup and Restore
Robocopy /MOV command copying but not deleting from source directory
Hi All, I have one folder A and have another folder B in the same drive E: I need to move all the content from folder A which are more than 2 years old to folder B. Hence when I ran the robocopy it just copied and I lost all disk space in drive E. My question is even though I used /MOV...
General Discussion
Robocopy copying folders from the wrong place
I've set up a back up batch file to copy my Documents, Pictures, Music, and Videos folders from my computer to an external hard drive. However, while running the Documents backup, it seems to find, the pictures, music, and videos folders all inside the documents folders labelled "My Music", etc. ...
General Discussion
Robocopy - Copying Folders With Spaces in The Title.
Hey guys, This may sound like a really silly question, but I'm just getting to grips with using Robocopy. How do you copy folders with spaces in the title? E.g: T:\Admin Tools I keep getting an error. Any help would be great thanks.
Backup and Restore
Backing up files using Robocopy
The default copy switch of robocopy is /COPY:DAT if you don't specify any copy options. This is the code I'm using: robocopy C:\ D:\Backup RAMDisk.img /copyall /R:5 /W:15 /V /log:D:\Users\Kevin\Desktop\robocopy_log.txt The RAMDisk.img file that I'm copying is a compressed image file. Now with...
Backup and Restore
How to Robocopy my files to Linkstation.
I have setup a bat file to copy my files to the linkstation. As Below: Robocopy "C:\Users\User\Documents\Janine" "B:\Documents\Janine" /MIR /E /SEC But when it gets to certain files it says access denied. How do I get it to copy these files with permissions...
General Discussion


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 08:17.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App