1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:04:56 +02:00
tldr/pages/windows/attrib.md
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30

27 lines
591 B
Markdown

# attrib
> Displays or changes file and directory attributes.
- Display the attributes of the files in the current directory:
`attrib`
- Display the attributes of the files in the current directory and sub-directories:
`attrib /S`
- Display the attributes of the files and directories in the current directory and sub-directories:
`attrib /S /D`
- Add the read-only attribute to a file:
`attrib +R {{document.txt}}`
- Remove the system and hidden attributes of a file:
`attrib -S -H {{document.txt}}`
- Add the hidden attribute to a directory:
`attrib +H {{path\to\directory}}`