Attrib utility.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 14 Aug 2017 03:16:52 +0300
changeset 2174 8e8a16e1c5b3
parent 2173 69aed373ceb9
child 2175 3977f49ae241
Attrib utility.
windows.rst
--- a/windows.rst	Wed Aug 09 01:58:42 2017 +0300
+++ b/windows.rst	Mon Aug 14 03:16:52 2017 +0300
@@ -518,12 +518,22 @@
   cmd> icacls %FILE% /reset
   cmd> icacls %FILE% /inheritance:r
 
+Read file attributes::
+
+  cmd> attrib %FILE%
+
+Set/remove attributes (``/s`` - recursive)::
+
+  cmd> attrib +r -h %DIR% /s
+
 https://technet.microsoft.com/en-us/library/cc753525.aspx
   Icacls.
 http://support.microsoft.com/kb/919240
   The ``Icacls.exe`` utility is available for Windows Server 2003 with Service Pack 2.
 https://technet.microsoft.com/en-us/library/2009.07.geekofalltrades.aspx
   Geek of all Trades Setting Permissions from the Command Line.
+https://technet.microsoft.com/en-us/library/bb490868.aspx
+  Attrib utility.
 
 User management
 ===============