Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This command displays or changes the attributes of a file.
ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [[path] file_name] [/S]
Parameters
- +R
Sets the read-only file attribute. - -R
Clears the read-only file attribute. - +A
Sets the archive file attribute. - -A
Clears the archive file attribute. - +S
Sets the system file attribute. - -S
Clears the system file attribute. - +H
Sets the hidden file attribute. - -H
Clears the read-only attribute. - path
Specifies the path to the file for which you want to display or change the attributes. - file_name
Specifies the name of the file for which you want to display or change the attributes. - /S
Processes all files that match the file_name parameter in the current directory and all subdirectories of the current directory.
See Also
Command Processor Commands | Command Processor Shell
Send Feedback on this topic to the authors