attrib [options] [<path>] ...
Display help.
If specified, set this attribute for the given path(s). [readonly, hidden, system, archived] Can be specified more than once.
If specified, clear this attribute for the given path(s). It is an error for an attribute to be specified with both --set
and --clear
. [readonly, hidden, system, archived] Can be specified more than once.
Recursively apply attribute changes to directories and their contents.
If specified, continue if an error is encountered while processing one of the paths.
The file or directory. Can be specified more than once. [filename(s)]
Change file system attributes.
Add or remove attributes from files or directories. For example:
attrib --set readonly FILE attrib -s r FILE # Equivalent to the above attrib --recurse --set readonly --clear system --clear hidden FOLDER
Copyright (c) 2011 Accenture. All rights reserved.