When i tried the solution with /XD i found, that the path to exclude should be the source path – not the destination.
e.g. this Works
robocopy c:\test\a c:\test\b /MIR /XD c:\test\a\leavethisdiralone\
When i tried the solution with /XD i found, that the path to exclude should be the source path – not the destination.
e.g. this Works
robocopy c:\test\a c:\test\b /MIR /XD c:\test\a\leavethisdiralone\