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 is stuck looking in C:\Users\jack\Documents\My Music\

02 Oct 2015   #1
broiyan

Windows 7 Professional 64 bit
 
 
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 the error message is "Access is Denied". The copying never completes because it will be in an infinite loop looking in a place that does not exist. The Documents directory does not have a "My Music" directory. Why is this happening?

Normally "My Music" would be one level higher, in C:\Users\jack, not in C:\Users\jack\Documents.

Correction: It exists because I can "cd" into it. However I cannot see it in Windows Explorer and "Organize > Folder and Search > View tab" has the "show hidden" selected. So the first problem is that this not copying and secondly it not appearing in the Windows Explorer.


My System SpecsSystem Spec
.
02 Oct 2015   #2
Ztruker

Windows 10 Pro X64
 
 

Quote   Quote: Originally Posted by broiyan View Post
The /mir option simply logs the progress.
Actually, /mir means /MIR :: Mirror a complete directory tree

Enable hidden files and look again to see if it shows up, should be there:

robocopy is stuck looking in C:\Users\jack\Documents\My Music\-folderoptsw7.jpg


My System SpecsSystem Spec
02 Oct 2015   #3
broiyan

Windows 7 Professional 64 bit
 
 

Okay, I did not realize there are two "Apply" buttons. Using both buttons does not cause the invisible directory to appear.

I would note that C:\Users\jack\Documents is a restore from Windows 8.1 to Windows 7. I would probably use 8.1 but it's an extra step to install and I have not gotten around to it yet.
My System SpecsSystem Spec
.

02 Oct 2015   #4
broiyan

Windows 7 Professional 64 bit
 
 

I unchecked "Hide operating system files" and now I see a short cut called "my music". That's strange, I would not consider that to be an operating system file of the sort like CppRedist421.dll. In any event, the short cut probably is dead because I probably deleted the "My Music" folder that it would point to.

I hate all this "My" stuff. What purpose does it serve? Hate music too when I'm trying to get work done.

I'm hoping I can get this robocopy to work now.
My System SpecsSystem Spec
02 Oct 2015   #5
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Quote   Quote: Originally Posted by broiyan View Post
The copying never completes because it will be in an infinite loop looking in a place that does not exist.
Add a Retry Options parameter to your Robocopy command to limit the number of retries for failed copies.
I add a parm to set retries to 5 attempts with this /R:5
The default retry setting is 1 million

In CMD enter this for Robocopy help, to see this info:
Robocopy /?

EDIT:
Also look at using the /XD (Exclude Directories) option.
My System SpecsSystem Spec
03 Oct 2015   #6
Ztruker

Windows 10 Pro X64
 
 

Quote   Quote: Originally Posted by broiyan View Post
I unchecked "Hide operating system files" and now I see a short cut called "my music". That's strange, I would not consider that to be an operating system file of the sort like CppRedist421.dll. In any event, the short cut probably is dead because I probably deleted the "My Music" folder that it would point to.

I hate all this "My" stuff. What purpose does it serve? Hate music too when I'm trying to get work done.

I'm hoping I can get this robocopy to work now.
You could try removing System and Hidden from the My Music folder properties if there. That should make it a normal folder, not a system/hidden folder.
My System SpecsSystem Spec
04 Oct 2015   #7
broiyan

Windows 7 Professional 64 bit
 
 

DavidE, thanks for the tip about the retries. I think I'll leave it alone since this is a backup it should fail hard or not at all.

After deleting the broken shortcuts that were formerly hidden, the backup works.
My System SpecsSystem Spec
Reply

 robocopy is stuck looking in C:\Users\jack\Documents\My Music\




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Contents in My Documents are both in My Documents and My Music.
I can't say when this started to happen, but for some reason all my stuff in My Documents folder (word documents, notepads, game stuff, etc) is also in My Music folder. I have never copied the contents in My Documents to My Music, so I don't know how they got there. And it can't even be solved by...
Music, Pictures & Video
Audio jack stuck in PC input jack...?
Hello my dear fellow windows 7 users! A few days ago, one half of the jack of my external speakers got stuck in the female jack of my PC laptop. I am using Realtek HD audio, and I wanted to ask whether it is possible for me to somehow disable the jack and have my audio played through my ...
Hardware & Devices
Audio jack stuck in PC input jack...?
Hello my dear fellow windows 7 users! A few days ago, one half of the jack of my external speakers got stuck in the female jack of my PC laptop. I am using Realtek HD audio, and I wanted to ask whether it is possible for me to somehow disable the jack and have my audio played through my normal...
Sound & Audio
C:\Documents and Settings\all users\documents DENIED!!!
I am running Windows 7 on my notebook, as the owner and admin..... I try to access this folder, and I cannot...in fact it appears as a shortcut rather than a folder...i have run antivirus, and malware, found nothing.... tried to change the security....all users has rights to it, the admin does...
General Discussion
robocopy skipping folders (moving c:\users)
Hey there, I'm attempting to use the guide posted on lifehacker to move the users folder to a different drive as W7 is installed on a rather small SSD. The guide is here: Move the Users Directory in Windows 7 I followed the directions to the letter, except of course, when it came to...
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 21:53.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App