From 1905be40929597c88a34a31051d92adcf4666bf5 Mon Sep 17 00:00:00 2001 From: Yan Uehara Date: Mon, 13 Nov 2017 02:40:05 -0300 Subject: [PATCH] attrib: add page (#1616) --- pages/windows/attrib.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/windows/attrib.md diff --git a/pages/windows/attrib.md b/pages/windows/attrib.md new file mode 100644 index 0000000000..3942fef42d --- /dev/null +++ b/pages/windows/attrib.md @@ -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}}`