I use the windows attrib command to remove the readonly attribute of the directory and set it like this:
attrib -r C:\build
attrib C:\build
C:\build
attrib +r C:\build
attrib C:\build
R C:\build
The question is why, after removing the readonly attribute from the command line, I still see it in the directory properties dialog box (right-click in Windows Explorer and select properties).
source
share