Attrib - Definition of Attrib Command - Particularities

Particularities

In certain versions, when both the s and h attributes are both set, they can only be removed at the same time. Therefore, to remove only one, both must first be removed, and then the desired attribute can be (re)set, for example

C:\> attrib -S -H *.*

The command will not clear the Read-Only flag from hidden files and will report that the flag was not cleared on each file.

Read more about this topic:  Attrib, Definition of Attrib Command