4

When running robocopy using a most basic command such as

robocopy <Source> <Destination> /E

does it only copies what I would call 'regular' files and folders, or those with hidden and system attributes as well ?

The official doc at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy does not even mention hidden or system attributes (as of 2020-02-01).

For the record I'm on Windows 10 1909 (18363.592).

1 Answer 1

5

I did some tests.

First I disabled "Hide protected operating system files" in Folder options. Then I created some folders and files and changed their attributes in cmd using

attrib +s +h <folder or file path>

Then copying using the command

robocopy <Source> <Destination> /E

did in fact copy all files and folders, regardless of their system or hidden attributes.

Additionally, I tested copying the contents of the "real" system folder $Recycle.Bin to another folder. It did copy the contents although Windows Explorer does not display the original complex folder names in the destination folder. copy of the $Recycle.Bin content

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .