Letterpart
asked on
problems backing up C:\Users\<username>\Documents in Windows 7
Hi,
I am using Robocopy to back up "C:\Users\<username>\Docum ents to I:\System Backup\<username>
where I:\ is an external USB drive.
For some reason the target directory shows up in Explorer as my Documents while in DOS it shows up as <username> which is what I would expect.
The full line in my batch file is as shown
I just don't get this. I run this command on 2K, 2003, XP and 2008 without any problems but in Windows 7 it renames my directory and changes the folder icon.
I have attached screenshots of the Exploer View and the DOS view.
can anyone shed any light on this please?
dos-view.jpg
I am using Robocopy to back up "C:\Users\<username>\Docum
where I:\ is an external USB drive.
For some reason the target directory shows up in Explorer as my Documents while in DOS it shows up as <username> which is what I would expect.
The full line in my batch file is as shown
I just don't get this. I run this command on 2K, 2003, XP and 2008 without any problems but in Windows 7 it renames my directory and changes the folder icon.
I have attached screenshots of the Exploer View and the DOS view.
can anyone shed any light on this please?
robocopy "C:\Users\Hedley\Documents" "I:\System Backup\Hedley" /MIR /Z /R:10 /LOG:Documents_backup.txt /NP /V
robocopy "C:\Users\Melanie\Documents" "I:\System Backup\Melanie" /MIR /Z /R:10 /LOG+:Documents_backup.txt /NP
robocopy G:\Music "I:\System Backup\Music" /MIR /Z /R:10 /LOG:Music_backup.txt /NP
robocopy G:\Photos "I:\System Backup\Photos" /MIR /Z /R:10 /LOG:Photo_backup.txt /NP
explorer-view.jpgdos-view.jpg
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorted. Deleting the desktop.ini has fixed it.
I will /XF it from now on.
I will /XF it from now on.
ASKER
Thanks guys
ASKER
I logged in as Melanie and I see exactly the same in Explorer and DOS as logged in under the other account
and yup, I know abouts /MIR. I use it at work to mirror our San arrays.