3

I want to clone an sd card, trying to use robocopy. What's wrong with the following statement?

ROBOCOPY e:\ c:\backup /MIR /COPYALL /DCOPY:DAT

Output: Invalid Paramter #5 : "/DCOPY:DAT"

What works would be a /DCOPY:T. But why can't I use the :DAT options?

membersound
  • 275
  • 1
  • 5
  • 13

1 Answers1

3

Knowledge base article 2646535 addresses this in passing:

The default Robocopy behavior in Windows 7 and in Windows Server 2008 R2 (in the released versions and the hotfixed versions) is the same as using the /DCOPY:DA option.

So /DCOPY:T on Windows 7 is equivalent to /DCOPY:DAT on Windows 10. The Windows 7 version simply doesn't give you the option to not copy extended attributes and alternate data streams.

Note that the KB article linked above describes a hotfix that gives Windows 7 the new command line options, but I recommend against using it unless you have a compelling need.

Harry Johnston
  • 6,005
  • 4
  • 35
  • 52