cmd - Windows attrib command line program doesn't remove readonly attribute? -


i use windows attrib command remove directory readonly attribute , set this:

attrib -r c:\build attrib c:\build     c:\build attrib +r c:\build attrib c:\build r   c:\build 

the question why after removing readonly attribute command line still see in directory properties dialog (right click in windows explorer , select properties).

the explorer checkbox doesn't work way think does. it's ui confusing , has tripped many users.

it used change ro attribute of files in directory, not indicate state of directory itself. you'll see in "indeterminate" state @ first. turn on or off, keep clicking on see cycle through 3 different states. unchecked, checked (checkmark in box) , indeterminate (rectangle in box). click apply button , set ro attributes on files in directory match checkbox state.

you cannot see state of ro attribute of directory in explorer. design, attribute meaningful on files.


Comments