{"id":42353,"date":"2003-09-30T11:55:00","date_gmt":"2003-09-30T11:55:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2003\/09\/30\/why-is-the-readonly-property-for-folders-so-strange\/"},"modified":"2022-12-02T08:23:02","modified_gmt":"2022-12-02T16:23:02","slug":"20030930-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20030930-00\/?p=42353\/","title":{"rendered":"Why is the readonly property for folders so strange?"},"content":{"rendered":"<p>It&#8217;s actually a signal to Explorer to look harder. It doesn&#8217;t mean that the directory is read-only.<\/p>\n<p>If a folder has the Read-Only or System flag set, then Explorer will look for a <code>desktop.ini<\/code> file which describes the folder customizations. For performance reasons, Explorer does this only if the directory has the +R or +S flag. (This is enormously important on slow networks.)<\/p>\n<p>There are two KB articles on this subject, and I will defer to them for much of the discussion. <a href=\"https:\/\/support.microsoft.com\/en-US\">This is the version that applies to Windows XP and Windows Server 2003<\/a>. There is also <a href=\"https:\/\/support.microsoft.com\/en-US\">a version that applies to older versions of Windows<\/a>, although the <code>UseSystemForSystemFolders<\/code> policy still applies.<\/p>\n<p>Coders should use the function <code>PathMakeSystemFolder<\/code> to mark a folder as requiring special attention from Explorer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s actually a signal to Explorer to look harder.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-42353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>It&#8217;s actually a signal to Explorer to look harder.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/42353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=42353"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/42353\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=42353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=42353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=42353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}