New
#31
Snake,
Bree's suggestion [the /XJD switch] is the sensible way of dealing with this issue. The /XJ switches are explained inRoboCopy Help [robocopy /? -in a command window]and inI do it differently.I first set up my RoboCopy backup the way you did. I ran into the problems you reported and I also had the problem of unintentionally backing up subfolders full of rubbish that arrogant & sloppy applications had put inside my Documents folder.There aren't as many of these sloppy applications nowadays but I still have some unwanted subfolders [Fax, Scanned documents, Sound recordings, VideoReDo] and a couple of others made by fifteen year old application versions [Cyberlink & DVDSmith] but that is my own fault for not getting newer versions.So I set my RoboCopy up using my Documents subfolders instead -Code:08/06/2019 15:52 <DIR> Work 08/06/2019 16:03 <DIR> Mutual 23/10/2018 17:31 <DIR> Home 27/08/2020 16:33 <DIR> IT 19/04/2018 14:32 <DIR> Private 31/07/2020 16:41 <DIR> Maintenance 11/10/2020 23:30 <DIR> Studies 07/10/2020 17:41 <DIR> Supplies
which adds a few more lines to my RoboCopy batch file but that is simple enough to do.
This method of approaching the problem allows me to RoboCopy my music & video folders separately.
Just to reduce the chances of misunderstandings later on, what you have found are not "directories" but shortcuts [albeit a special type of shortcut called, as you know, a Junction] created by Windows to assist the working of applications that are probably not in use any longer.
If you ever have a need to refer to them again, I urge you to call them shortcuts or, if you want to be more precise, Junctions.
All the best,
Denis