mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:13:52 +02:00
attrib: add page (#1616)
This commit is contained in:
parent
93f1fa4397
commit
1905be4092
1 changed files with 27 additions and 0 deletions
27
pages/windows/attrib.md
Normal file
27
pages/windows/attrib.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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 folders 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 folder:
|
||||
|
||||
`attrib +H {{path\to\folder}}`
|
Loading…
Add table
Reference in a new issue