{"id":2271,"date":"2018-08-20T13:28:06","date_gmt":"2018-08-20T05:28:06","guid":{"rendered":"https:\/\/www.aoisnow.net\/blog\/?p=2271"},"modified":"2018-08-20T13:28:06","modified_gmt":"2018-08-20T05:28:06","slug":"tont-42353-%e4%b8%ba%e4%bd%95%e6%96%87%e4%bb%b6%e5%a4%b9%e7%9a%84%e3%80%8e%e5%8f%aa%e8%af%bb%e3%80%8f%e5%b1%9e%e6%80%a7%e8%a1%a8%e7%8e%b0%e5%a6%82%e6%ad%a4%e8%af%a1%e5%bc%82%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.aoisnow.net\/blog\/archives\/2271","title":{"rendered":"TONT 42353 \u4e3a\u4f55\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u8868\u73b0\u5982\u6b64\u8be1\u5f02\uff1f"},"content":{"rendered":"<p>\u7279\u522b\u7684\u7231\u7ed9\u7279\u522b\u7684\u4f60\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20030930-00\/?p=42353\" target=\"_blank\" rel=\"noopener\">https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20030930-00\/?p=42353<\/a><\/p>\n<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>\u5b9e\u9645\u4e0a\uff08\u6587\u4ef6\u5939\u7684\u53ea\u8bfb\u5c5e\u6027\uff09\u53ea\u662f\u8ba9\u8d44\u6e90\u7ba1\u7406\u5668\u518d\u4ed4\u7ec6\u770b\u770b\u6587\u4ef6\u5939\u7684\u5185\u5bb9\uff0c\u5e76\u4e0d\u610f\u5473\u7740\u8fd9\u4e2a\u6587\u4ef6\u5939\u662f\u53ea\u8bfb\u7684\u3002<\/p>\n<p>If a folder has the Readonly or System flag set, then Explorer will look for a desktop.ini 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>\u5982\u679c\u67d0\u4e2a\u6587\u4ef6\u5939\u8bbe\u7f6e\u4e86\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\uff0cExplorer\u5c31\u4f1a\u5728\u8be5\u6587\u4ef6\u5939\u4e0b\u67e5\u627edesktop.ini\uff0c\u8be5\u6587\u4ef6\u7528\u4e8e\u63cf\u8ff0\u6587\u4ef6\u5939\u7684\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u3002\u51fa\u4e8e\u5bf9\u6027\u80fd\u7684\u8003\u8651\uff0c\u8d44\u6e90\u7ba1\u7406\u5668\u53ea\u4f1a\u5bf9\u8bbe\u7f6e\u4e86\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u7684\u6587\u4ef6\u5939\u8fd9\u4e48\u505a\u3002\uff08\u8fd9\u5728\u6162\u901f\u7f51\u7edc\u4e0a\u662f\u6781\u5176\u91cd\u8981\u7684\u3002\uff09<\/p>\n<p>There are two KB articles on this subject, and I will defer to them for much of the discussion. <a href=\"http:\/\/support.microsoft.com\/?kbid=326549\" target=\"_blank\" rel=\"noopener\">This is the version that applies to Windows XP and Windows Server 2003<\/a>. <a href=\"http:\/\/support.microsoft.com\/?kbid=256614\" target=\"_blank\" rel=\"noopener\">There is also a version that applies to older versions of Windows<\/a>, although the UseSystemForSystemFolders policy still applies.<\/p>\n<p>\u6709\u4e24\u7bc7\u77e5\u8bc6\u5e93\u6587\u7ae0\u89e3\u8bf4\u4e86\u8fd9\u4e2a\u8bdd\u9898\uff0c\u8fd9\u91cc\u6211\u5c06\u4ed6\u4eec\u642c\u51fa\u6765\u4f5c\u4e3a\u8be6\u7ec6\u7684\u89e3\u91ca\u3002<a href=\"http:\/\/support.microsoft.com\/?kbid=326549\" target=\"_blank\" rel=\"noopener\">\u8fd9\u7bc7\u662f\u9488\u5bf9Windows XP\u548cWindows Server 2003\u7684<\/a>\uff0c<a href=\"http:\/\/support.microsoft.com\/?kbid=256614\" target=\"_blank\" rel=\"noopener\">\u8fd8\u6709\u4e00\u4e2a\u7248\u672c\u662f\u9488\u5bf9\u65e7\u7248Windows\u7684<\/a>\uff08\u8bd1\u6ce8\uff1a\u8be5\u94fe\u63a5\u5df2\u5931\u6548\uff09\uff0c\u867d\u7136\u5176\u4e2d\u6709\u5173UseSystemForSystemFolders\u7684\u7b56\u7565\u4ecd\u7136\u6709\u6548\u3002<\/p>\n<p>Coders shold use the function PathMakeSystemFolder to mark a folder as requiring special attention from Explorer.<\/p>\n<p>\u5982\u679c\u9700\u8981\u8d44\u6e90\u7ba1\u7406\u5668\u7684\u7279\u522b\u5173\u7167\uff0c\u7a0b\u5e8f\u5458\u4eec\u5e94\u5f53\uff08\u8bd1\u6ce8\uff1ashold\u539f\u6587\u5982\u6b64\uff09\u4f7f\u7528PathMakeSystemFolder\u5bf9\u6587\u4ef6\u5939\u8fdb\u884c\u6807\u8bb0\u3002<\/p>\n<p>\uff08\u8bd1\u540e\uff1a\u53ea\u770b\u4e0a\u9762\u7684\u6587\u7ae0\u53ef\u80fd\u5bf9\u4f5c\u8005\u60f3\u8bf4\u4ec0\u4e48\u4e00\u5934\u96fe\u6c34\uff0c\u4ee5\u4e0b\u4e3a\u6587\u4e2d\u63d0\u53ca\u7684KB\u6587\u7ae0\u7684\u8bd1\u6587\uff09<\/p>\n<p><strong>You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7<\/strong><\/p>\n<p><strong>\u5728Windows Server 2003\u3001Windows XP\u3001Windows Vista\u548cWindows7\u4e2d\uff0c\u65e0\u6cd5\u5bf9\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u8fdb\u884c\u67e5\u770b\u6216\u66f4\u6539<\/strong><\/p>\n<p><strong>SUMMARY\/<\/strong><strong>\u6458\u8981<\/strong><\/p>\n<p>This article contains step-by-step instructions on how to use the Attrib command to work around the inability to view or to remove the Read-only or the System attributes of folders in Windows Server 2003, in WindowsXP, Windows Vista and in Windows 7.<\/p>\n<p>\u672c\u6587\u5305\u542b\u5bf9\u5982\u4f55\u4f7f\u7528Attrib\u547d\u4ee4\u5bf9\u5305\u542b\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u7684\u6587\u4ef6\u5939\u7684\u8fd9\u4e24\u79cd\u5c5e\u6027\u8fdb\u884c\u67e5\u770b\u6216\u79fb\u9664\u7684\u6307\u5bfc\uff0c\u4f5c\u4e3a\u5bf9\u5728\u56fe\u5f62\u754c\u9762\u4e0b\u8be5\u529f\u80fd\u7f3a\u5931\u7684\u66ff\u4ee3\u65b9\u6848\uff0c\u9002\u7528\u4e8eWindows Server 2003\u3001WindowsXP\u3001Windows Vista\u548cWindows 7\u3002<\/p>\n<p>This article is intended for advanced computer users.<\/p>\n<p>\u672c\u6587\u76ee\u6807\u7fa4\u4f53\u4e3a\u5bf9\u8ba1\u7b97\u673a\u6709\u6df1\u5165\u4e86\u89e3\u7684\u7528\u6237\u3002<\/p>\n<p><strong>Symptoms of the problem\/\u95ee\u9898\u6897\u6982<\/strong><\/p>\n<p>You may experience any of the following symptoms:<\/p>\n<p>\u7528\u6237\u53ef\u80fd\u9047\u5230\u5982\u4e0b\u60c5\u51b5\uff1a<\/p>\n<p>You cannot view or change the Read-only or System attributes of a folder by using the Properties dialog box for the folder. For example, you may experience the following symptoms:<\/p>\n<p>\u4e00\u3001\u65e0\u6cd5\u4f7f\u7528\u300e\u5c5e\u6027\u300f\u5bf9\u8bdd\u6846\u5bf9\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u8fdb\u884c\u66f4\u6539\u3002\u4f8b\u5982\uff0c\u7528\u6237\u53ef\u80fd\u4f1a\u9047\u5230\u5982\u4e0b\u60c5\u51b5\uff1a<\/p>\n<p>When you view the General tab of a folder&#8217;s Properties dialog box, the Read-only check box is not available, and there is no check box to change the System attribute.<\/p>\n<p>1\u3001\u6587\u4ef6\u5939\u7684\u300e\u5c5e\u6027\u300f\u5bf9\u8bdd\u6846\u4e2d\uff0c\u300e\u5e38\u89c4\u300f\u9009\u9879\u5361\u4e0b\u4e0d\u5305\u542b\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u7684\u68c0\u67e5\u6846\uff08Checkbox\uff09\uff0c\u4e5f\u6ca1\u6709\u53ef\u4ee5\u5bf9\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u8fdb\u884c\u4fee\u6539\u7684\u68c0\u67e5\u6846\u3002<\/p>\n<p>You click to clear or click to select the Read-only check box on the General tab of a folder&#8217;s Properties dialog box. When you click OK or Apply, you receive the following message:<\/p>\n<p>2\u3001\u5728\u6587\u4ef6\u5939\u300e\u5c5e\u6027\u300f\u5bf9\u8bdd\u6846\u7684\u300e\u5e38\u89c4\u300f\u9009\u9879\u5361\u4e0b\uff0c\u7528\u6237\u9009\u4e2d\u6216\u53d6\u6d88\u9009\u4e2d\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u524d\u7684\u68c0\u67e5\u6846\u3002\u5f53\u5355\u51fb\u300e\u786e\u5b9a\u300f\u6216\u300e\u5e94\u7528\u300f\u6309\u94ae\u65f6\uff0c\u4f1a\u6536\u5230\u5982\u4e0b\u7684\u4fe1\u606f\uff1a<\/p>\n<p>Confirm Attribute Changes\/\u786e\u8ba4\u5c5e\u6027\u66f4\u6539<br \/>\nYou have chosen to make the following attribute changes:\/\u60a8\u5df2\u9009\u62e9\u5bf9\u5c5e\u6027\u8fdb\u884c\u5982\u4e0b\u66f4\u6539\uff1a<br \/>\nunset read-only\/\u53d6\u6d88\u300e\u53ea\u8bfb\u300f<br \/>\nDo you want to apply this change to this folder only, or do you want to apply it to all subfolders and files as well?\/\u662f\u5426\u8981\u5c06\u6b64\u66f4\u6539\u4ec5\u5e94\u7528\u4e8e\u6b64\u6587\u4ef6\u5939\uff0c\u6216\u8005\u662f\u5426\u8981\u5c06\u5b83\u5e94\u7528\u4e8e\u6240\u6709\u5b50\u6587\u4ef6\u5939\u548c\u6587\u4ef6\uff1f<\/p>\n<p>If you click Apply changes to this folder only, the Read-only attribute is changed for all the files in the folder. However, the Read-only attribute is not changed for the folder, its subfolders, or any files in its subfolders. If you click Apply changes to this folder, subfolders, and files, the Read-only attribute is changed for all files in the folder and all files in the subfolders. However, the Read-only attribute is not changed for the folder or its subfolders.<\/p>\n<p>\u5982\u679c\u9009\u62e9\u300e\u4ec5\u5e94\u7528\u4e8e\u6b64\u6587\u4ef6\u5939\u300f\uff0c\u5219\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u7684\u4fee\u6539\uff08\u8bd1\u6ce8\uff1a\u7531\u4e8e\u4e0a\u6587\u63d0\u5230\u7684\u662f\u300e\u9009\u4e2d\u6216\u53d6\u6d88\u9009\u4e2d\u53ea\u8bfb\u5c5e\u6027\u300f\uff0c\u6240\u4ee5\u8fd9\u91cc\u53ef\u80fd\u662f\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027\uff0c\u4e5f\u53ef\u80fd\u662f\u53d6\u6d88\u53ea\u8bfb\u5c5e\u6027\uff0c\u4e0b\u540c\uff09\u5c06\u5e94\u7528\u4e8e\u6587\u4ef6\u5939\u4e0b\uff08\u7b2c\u4e00\u7ea7\u5185\uff09\u7684\u6240\u6709\u6587\u4ef6\uff0c\u4f46\u662f\uff0c\u6587\u4ef6\u5939\u672c\u8eab\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u4e0d\u4f1a\u53d1\u751f\u53d8\u5316\uff0c\u5176\u6240\u5305\u542b\u7684\u5b50\u6587\u4ef6\u5939\u3001\u4ee5\u53ca\u5b50\u6587\u4ef6\u5939\u4e0b\u7684\u4efb\u4f55\u6587\u4ef6\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u4e5f\u4e0d\u4f1a\u6539\u53d8\u3002\u5982\u679c\u9009\u62e9\u300e\u5e94\u7528\u4e8e\u6240\u6709\u5b50\u6587\u4ef6\u5939\u548c\u6587\u4ef6\u300f\uff0c\u5219\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u7684\u4fee\u6539\u4f1a\u5e94\u7528\u4e8e\u8be5\u6587\u4ef6\u5939\u3001\u53ca\u8be5\u6587\u4ef6\u5939\u5185\u5305\u542b\u7684\u5b50\u6587\u4ef6\u5939\u4e2d\u7684\u6240\u6709\u6587\u4ef6\uff0c\u4f46\u662f\uff0c\u4e0d\u4f1a\u5e94\u7528\u4e8e\u8be5\u6587\u4ef6\u5939\u672c\u8eab\u5373\u5176\u5305\u542b\u7684\u5b50\u6587\u4ef6\u5939\u672c\u8eab\u3002<\/p>\n<p>Some programs may display error messages when you try to save files to a folder that uses the Read-only or System attribute. As a result, these programs may not be able to save files to the folder.<\/p>\n<p>\u90e8\u5206\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u5728\u5c1d\u8bd5\u5c06\u6587\u4ef6\u4fdd\u5b58\u81f3\u5305\u542b\u53ea\u8bfb\u5c5e\u6027\u7684\u6587\u4ef6\u5939\u65f6\u62a5\u9519\uff0c\u7531\u6b64\uff0c\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u65e0\u6cd5\u5c06\u6587\u4ef6\u4fdd\u5b58\u81f3\u8fd9\u4e9b\u6587\u4ef6\u5939\u3002<\/p>\n<p><strong>Cause\/\u539f\u56e0\u5206\u6790<\/strong><\/p>\n<p>Note Unlike the Read-only attribute for a file, the Read-only attribute for a folder is typically ignored by Windows, Windows components and accessories, and other programs. For example, you can delete, rename, and change a folder with the Read-only attribute by using Windows Explorer.<\/p>\n<p>\u4e0e\u6587\u4ef6\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u4e0d\u540c\uff0c\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u901a\u5e38\u88abWindows\u3001Windows\u7ec4\u4ef6\u3001\u9644\u4ef6\u53ca\u5176\u5b83\u5e94\u7528\u7a0b\u5e8f\u6240\u5ffd\u7565\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u8d44\u6e90\u7ba1\u7406\u5668\u5bf9\u5df2\u8bbe\u7f6e\u4e86\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u7684\u6587\u4ef6\u5939\u8fdb\u884c\u5220\u9664\u3001\u91cd\u547d\u540d\uff0c\u6216\u5bf9\u5176\u4e2d\u7684\u5185\u5bb9\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n<p>The Read-only and System attributes is only used by Windows Explorer to determine whether the folder is a special folder, such as a system folder that has its view customized by Windows (for example, My Documents, Favorites, Fonts, Downloaded Program Files), or a folder that you customized by using the Customize tab of the folder&#8217;s Properties dialog box. As a result, Windows Explorer does not allow you to view or change the Read-only or System attributes of folders. When a folder has the Read-Only attribute set it causes Explorer to request the Desktop.ini of that folder to see if any special folder settings need to be set. It has been seen where if a network share that has a large amount of folders set to Read-only, it can cause Explorer to take longer then what is expected to render the contents of that share while it waits on the retrieval of the Desktop.ini files. The slower the network connectivity to the share the longer this process can take to the point where Explorer may timeout waiting for the data and render nothing or appear to hang.<\/p>\n<p>\u300e\u53ea\u8bfb\u300f\u548c\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u88ab\u8d44\u6e90\u7ba1\u7406\u5668\u7528\u4f5c\u5224\u65ad\u67d0\u4e2a\u6587\u4ef6\u5939\u662f\u5426\u662f\u7279\u6b8a\u7684\u6587\u4ef6\u5939\u7684\u6761\u4ef6\uff0c\u6bd4\u5982\u4e00\u4e9b\u88abWindows\u7279\u522b\u5b9a\u4e49\u8fc7\u89c6\u56fe\u7684\u7cfb\u7edf\u6587\u4ef6\u5939\uff08\u4f8b\u5982\uff1a\u6211\u7684\u6587\u6863\u3001\u6536\u85cf\u5939\u3001\u5b57\u4f53\u3001\u5df2\u4e0b\u8f7d\u7684\u7a0b\u5e8f\u6587\u4ef6\uff08Downloaded Program Files\uff0c\u8bd1\u6ce8\uff1a\u8fd9\u662f\u88abInternet Explorer\u8c03\u7528\u7684\u4e00\u4e2a\u7279\u6b8a\u6587\u4ef6\u5939\uff0c\u7528\u4e8e\u5b58\u50a8\u4e0b\u8f7d\u7684ActiveX\u63a7\u4ef6\u7b49\u7b49\uff09\uff09\uff0c\u6216\u8005\u88ab\u7528\u6237\u5728\u300e\u5c5e\u6027\u300f\u5bf9\u8bdd\u6846\u4e2d\u7528\u300e\u81ea\u5b9a\u4e49\u300f\u529f\u80fd\u4fee\u6539\u8fc7\u7684\u6587\u4ef6\u5939\u3002\u56e0\u6b64\uff0cWindows\u8d44\u6e90\u7ba1\u7406\u5668\u4e0d\u5141\u8bb8\u7528\u6237\u4fee\u6539\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u548c\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u3002\u5f53\u4e00\u4e2a\u6587\u4ef6\u5939\u8bbe\u7f6e\u4e86\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\uff0c\u8d44\u6e90\u7ba1\u7406\u5668\u4f1a\u67e5\u627e\u5176\u4e2d\u7684Desktop.ini\u4ee5\u4e86\u89e3\u662f\u5426\u6709\u7279\u522b\u7684\u6587\u4ef6\u5939\u8bbe\u7f6e\u3002\u66fe\u6709\u4e8b\u4f8b\u8868\u660e\uff0c\u5728\u7f51\u7edc\u5171\u4eab\u4e2d\u5982\u679c\u6709\u4e00\u5927\u5806\u53ea\u8bfb\u6587\u4ef6\u5939\uff0c\u8d44\u6e90\u7ba1\u7406\u5668\u4f1a\u6bd4\u5e73\u5e38\u82b1\u66f4\u591a\u7684\u65f6\u95f4\u6e32\u67d3\u8be5\u5171\u4eab\u4e2d\u7684\u5185\u5bb9\uff0c\u56e0\u4e3a\u8d44\u6e90\u7ba1\u7406\u5668\u82b1\u4e86\u5f88\u591a\u65f6\u95f4\u53bb\u68c0\u7d22\u548c\u83b7\u53d6\u5176\u4e2d\u7684Desktop.ini\u6587\u4ef6\u3002\u7f51\u7edc\u8fde\u63a5\u7684\u901f\u5ea6\u8d8a\u6162\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u8d8a\u82b1\u8d39\u65f6\u95f4\uff0c\u8d44\u6e90\u7ba1\u7406\u5668\u6709\u53ef\u80fd\u6700\u7ec8\u7b49\u5f85\u8d85\u65f6\uff0c\u5e76\u5c06\u8be5\u5171\u4eab\u6587\u4ef6\u5939\uff08\u9519\u8bef\u5730\uff09\u63cf\u7ed8\u4e3a\u7a7a\u65e0\u4e00\u7269\uff0c\u6216\u770b\u4e0a\u53bb\u5c31\u50cf\u6b7b\u673a\u4e86\u4e00\u6837\u3002<\/p>\n<p>Note In some previous versions of Windows, you can change the Read-only attribute for folders by using the Properties dialog box for the folder, but no versions of Windows permit you to change the System attribute by using Windows Explorer.<\/p>\n<p>\u9700\u6ce8\u610f\u7684\u662f\uff0c\u5728\u65e9\u671f\u7684\u82e5\u5e72Windows\u7248\u672c\u4e2d\uff0c\u7528\u6237\u4ecd\u53ef\u4f7f\u7528\u6587\u4ef6\u5939\u7684\u300e\u5c5e\u6027\u300f\u5bf9\u8bdd\u6846\u4fee\u6539\u5176\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\uff0c\u4f46\u4e0d\u5b58\u5728\u4efb\u4f55\u4e00\u4e2a\u7248\u672c\u7684Windows\u5141\u8bb8\u4f7f\u7528\u8d44\u6e90\u7ba1\u7406\u5668\u4fee\u6539\u5176\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u3002<\/p>\n<p><strong>Steps to work around this problem\/<\/strong><strong>\u89e3\u51b3\u6b64\u95ee\u9898\u7684\u66ff\u4ee3\u65b9\u6848<\/strong><\/p>\n<p>To work around this problem, use the Attrib command at a command prompt (Cmd.exe) to view or to remove the Read-only or the System attributes of folders.<\/p>\n<p>\u4e3a\u901a\u8fc7\u66ff\u4ee3\u624b\u6bb5\u89e3\u51b3\u6b64\u95ee\u9898\uff0c\u8bf7\u5728\u547d\u4ee4\u63d0\u793a\u7b26\uff08Cmd.exe\uff09\u4e2d\u4f7f\u7528Attrib\u547d\u4ee4\u6765\u67e5\u770b\u6216\u79fb\u9664\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u3002<\/p>\n<p><strong>To view or to remove the Read-only or the System attributes of folders\/\u8981\u79fb\u9664\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\uff0c\u8bf7\u8fdb\u884c\u5982\u4e0b\u64cd\u4f5c<\/strong><\/p>\n<p>Warning If you remove the Read-only or System attribute from a folder, it may appear as a ordinary folder and some customizations may be lost. For example, Windows customizes the Fonts folder and provides a special folder view that permits you to hide variations, such as bold and italic. It also permits you to change the folder&#8217;s view settings in ways that are specific to fonts. If you remove the Read-only and System attributes of the Fonts folder, these customized view settings are not available. For folders that you have customized by using the Customize tab of the folder&#8217;s<br \/>\nProperties dialog box, the folder icon and other other customizations may be lost when you remove the Read-only attribute.<\/p>\n<p>\u8b66\u544a\uff1a\u5982\u679c\u79fb\u9664\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u6216\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\uff0c\u5176\u5c06\u8868\u73b0\u4e3a\u4e00\u4e2a\u666e\u901a\u6587\u4ef6\u5939\uff0c\u4e00\u4e9b\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u53ef\u80fd\u4f1a\u4e22\u5931\u3002\u4f8b\u5982\uff0cWindows\u4e3aFonts\uff08\u5b57\u4f53\uff09\u6587\u4ef6\u5939\u8fdb\u884c\u4e86\u81ea\u5b9a\u4e49\uff0c\u4e3a\u5176\u63d0\u4f9b\u4e86\u7279\u6b8a\u7684\u89c6\u56fe\uff0c\u4ee5\u4fbf\u7528\u6237\u53ef\u4ee5\u9690\u85cf\u5b57\u4f53\u7684\u53d8\u4f53\uff08\u4ee5\u65b9\u4fbf\u67e5\u770b\uff09\uff0c\u5982\u9ed1\u4f53\u3001\u659c\u4f53\u7b49\u3002\u8be5\u81ea\u5b9a\u4e49\u89c6\u56fe\u8fd8\u5141\u8bb8\u4ee5\uff08\u4e0d\u540c\u4e8e\u666e\u901a\u6587\u4ef6\u7684\uff09\u5b57\u4f53\u7684\u7279\u6027\u6765\u4fee\u6539Fonts\u6587\u4ef6\u5939\u7684\u7ec4\u7ec7\u5f62\u5f0f\u3002\u5982\u679c\u7528\u6237\u79fb\u9664\u4e86Fonts\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u548c\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\uff0c\u4e0a\u8ff0\u81ea\u5b9a\u4e49\u89c6\u56fe\u9009\u9879\u5c06\u4e0d\u53ef\u7528\u3002\u5bf9\u4e8e\u4f7f\u7528\u4e86\u300e\u5c5e\u6027\u300f\u5bf9\u8bdd\u6846\u4e2d\u300e\u81ea\u5b9a\u4e49\u300f\u529f\u80fd\u8fdb\u884c\u8fc7\u5b9a\u5236\u7684\u6587\u4ef6\u5939\uff0c\u5f53\u79fb\u9664\u6587\u4ef6\u5939\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u65f6\uff0c\u81ea\u5b9a\u4e49\u7684\u6587\u4ef6\u5939\u56fe\u6807\u53ca\u5176\u5b83\u5b9a\u5236\u8bbe\u7f6e\u53ef\u80fd\u4f1a\u4e22\u5931\u3002<\/p>\n<p>If a program cannot save files to a folder with the Read-only attribute, such as My Documents, change the Read-only attribute to System by using the Attrib command at a command prompt.<\/p>\n<p>\u5982\u679c\u67d0\u5e94\u7528\u7a0b\u5e8f\u65e0\u6cd5\u5c06\u6587\u4ef6\u4fdd\u5b58\u5230\u5177\u6709\u53ea\u8bfb\u5c5e\u6027\u7684\u6587\u4ef6\u5939\uff08\u5982\uff1a\u6211\u7684\u6587\u6863\uff09\uff0c\u8bf7\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u7684Attrib\u547d\u4ee4\u4fee\u6539\u5176\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u3002<\/p>\n<p>Note If the Run command is not listed on the Start menu, do the following: Click Start, click All Programs, click Accessories, and then click Run.<\/p>\n<p>\u5982\u679c\u300e\u8fd0\u884c\u300f\u547d\u4ee4\u6ca1\u6709\u5728\u5f00\u59cb\u83dc\u5355\u4e2d\u5217\u51fa\uff0c\u8bf7\u8fdb\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a\u5355\u51fb\u300e\u5f00\u59cb\u300f\u6309\u94ae\uff0c\u70b9\u51fb\u300e\u6240\u6709\u7a0b\u5e8f\u300f\uff0c\u627e\u5230\u300e\u9644\u4ef6\u300f\u5e76\u70b9\u51fb\u5176\u4e2d\u7684\u300e\u8fd0\u884c\u300f\u3002\uff08\u8bd1\u6ce8\uff1a\u5728\u82f1\u6587\u952e\u76d8\u4e0a\uff0c\u6309\u4e0bWin+R\u4e5f\u53ef\u4ee5\uff09\u3002<\/p>\n<p>To remove the Read-only attribute and to set the System attribute, use the following command:<\/p>\n<p>\u8981\u79fb\u9664\uff08\u6587\u4ef6\u5939\uff09\u7684\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u5e76\u4e3a\u5176\u6dfb\u52a0\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>attrib -r +s drive\uff08\u9a71\u52a8\u5668\uff09:\\&lt;path\uff08\u8def\u5f84\uff09&gt;\\&lt;foldername&gt;\uff08\u6587\u4ef6\u5939\u540d\u79f0\uff09<\/p>\n<p>For example, to remove the Read-only attribute and to set the System attribute for the C:\\Test folder, use the following command:<\/p>\n<p>\u4f8b\u5982\uff0c\u8981\u4e3aC\u76d8\u4e0b\u7684Test\u6587\u4ef6\u5939\u79fb\u9664\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u5e76\u6dfb\u52a0\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>attrib -r +s c:\\test<\/p>\n<p>Be aware that some programs may not operate correctly with folders for which the System attribute and the Read-only attribute are set. Therefore, use the following command to remove these attributes:<\/p>\n<p>\u6ce8\u610f\uff1a\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u65e0\u6cd5\u5bf9\uff08\u540c\u65f6\uff09\u8bbe\u7f6e\u4e86\u300e\u7cfb\u7edf\u300f\u548c\u300e\u53ea\u8bfb\u300f\u5c5e\u6027\u7684\u6587\u4ef6\u5939\u6b63\u5e38\u64cd\u4f5c\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528\u4ee5\u4e0b\u6307\u4ee4\u79fb\u9664\uff08\u6587\u4ef6\u5939\u7684\uff09\u8fd9\u4e9b\u5c5e\u6027\uff1a<\/p>\n<p>attrib -r -s c:\\test<\/p>\n<p><strong>Status\/\u95ee\u9898\u72b6\u6001<\/strong><\/p>\n<p>This behavior is by design.<\/p>\n<p>\u4e0a\u8ff0\u60c5\u666f\u4e3a\u4eba\u4e3a\u523b\u610f\u8bbe\u8ba1\u3002<\/p>\n<p><strong>More Information\/\u66f4\u591a\u4fe1\u606f<\/strong><\/p>\n<p>Windows stores file and folder attributes in the file system with the file and folder name, extension, date and time stamps, and other information. The Read-only check box for folders is not available because it does not apply to the folder. You can use this check box to set the Read-only attribute for files in the folder. However, you cannot use Windows Explorer to determine whether a folder has the Read-only and System attributes set. To determine the attributes that are set on a folder, or to change these attributes, you must use the Attrib command at a command prompt.<\/p>\n<p>Windows\u5728\u6587\u4ef6\u7cfb\u7edf\u4e2d\u5b58\u50a8\u6587\u4ef6\u548c\u6587\u4ef6\u5939\u7684\u540d\u79f0\u3001\u6269\u5c55\u540d\u3001\u65e5\u671f\u548c\u65f6\u95f4\u6233\u7b49\u4fe1\u606f\u3002\u300e\u53ea\u8bfb\u300f\u68c0\u67e5\u6846\u4e0d\u53ef\u89c1\u7684\u539f\u56e0\u4e3a\u5176\u4e0d\u9002\u7528\u4e8e\u6587\u4ef6\u5939\u3002\u7528\u6237\u53ef\u4f7f\u7528\u8be5\u68c0\u67e5\u6846\u6765\u4e3a\u6587\u4ef6\u5939\u4e2d\u5305\u542b\u7684\u6587\u4ef6\u8bbe\u7f6e\u53ea\u8bfb\u5c5e\u6027\uff0c\u4f46\u65e0\u6cd5\u4f7f\u7528Windows\u8d44\u6e90\u7ba1\u7406\u5668\u5224\u5b9a\u67d0\u6587\u4ef6\u5939\u662f\u5426\u8bbe\u7f6e\u4e86\u300e\u53ea\u8bfb\u300f\u548c\u300e\u7cfb\u7edf\u300f\u5c5e\u6027\u3002\u8981\u83b7\u5f97\u6b64\u4fe1\u606f\u6216\u4fee\u6539\u4e4b\uff0c\u7528\u6237\u5fc5\u987b\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e0b\u4f7f\u7528Attrib\u547d\u4ee4\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<p><strong>References\/\u53c2\u8003\u8d44\u6599<\/strong><\/p>\n<p>For more information about system attributes, click the following article numbers to view the articles in the Microsoft Knowledge Base:<\/p>\n<p>\u8981\u83b7\u53d6\u66f4\u591a\u5173\u4e8e\u7cfb\u7edf\u5c5e\u6027\u7684\u4fe1\u606f\uff0c\u8bf7\u70b9\u51fb\u4e0b\u5217\u6587\u7ae0\u7f16\u53f7\u6765\u9605\u8bfbMicrosoft\u77e5\u8bc6\u5e93\u4e2d\u7684\u6587\u7ae0\uff1a<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/308419\" target=\"_blank\" rel=\"noopener\">308419<\/a> How to set, view, change, or remove special permissions for files and folders in Windows XP<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/308419\" target=\"_blank\" rel=\"noopener\">308419<\/a> \u5982\u4f55\u5728Windows XP\u4e2d\u8bbe\u7f6e\u3001\u67e5\u770b\u3001\u4fee\u6539\u6587\u4ef6\u53ca\u6587\u4ef6\u5939\u7684\u7279\u6b8a\u6743\u9650<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/277867\" target=\"_blank\" rel=\"noopener\">277867<\/a> Windows NTFS permissions are required when you run Word on any NTFS partition that has Windows 2000, Windows XP Professional, Windows Server 2003, or Windows Vista installed<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/277867\" target=\"_blank\" rel=\"noopener\">277867<\/a>\u00a0\u5f53\u5728\u5b89\u88c5\u4e86Windows 2000\u3001Windows XP Professional\u3001Windows Server 2003\u6216Windows Vista\u7684\u8ba1\u7b97\u673a\u7684NTFS\u5206\u533a\u4e0a\u8fd0\u884cWord\u65f6\uff0c\u9700\u8981\u83b7\u53d6Windows NTFS\u6743\u9650<\/p>\n<p>If the previous articles do not help you resolve the problem or if you experience symptoms that differ from those that are described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site:<\/p>\n<p>\u82e5\u4e0a\u8ff0\u6587\u7ae0\u672a\u80fd\u89e3\u51b3\u60a8\u7684\u95ee\u9898\uff0c\u6216\u60a8\u6240\u9047\u5230\u7684\u60c5\u51b5\u4e0e\u6587\u4e2d\u6240\u8ff0\u6709\u5f02\uff0c\u8bf7\u5728Microsoft\u77e5\u8bc6\u5e93\u4e2d\u8fdb\u884c\u68c0\u7d22\u4ee5\u83b7\u5f97\u66f4\u591a\u4fe1\u606f\u3002\u8981\u5728Microsoft\u77e5\u8bc6\u5e93\u4e2d\u8fdb\u884c\u641c\u7d22\uff0c\u8bf7\u8bbf\u95ee\u4ee5\u4e0bMicrosoft Web\u7ad9\u70b9\uff1a<\/p>\n<p><a href=\"http:\/\/support.microsoft.com\" target=\"_blank\" rel=\"noopener\">http:\/\/support.microsoft.com<\/a><\/p>\n<p>Then, type the text of the error message that you receive or type a description of the problem in the Search Support (KB) field.<\/p>\n<p>\u8fdb\u5165\u540e\uff0c\u5728\u300e\u641c\u7d22\u652f\u6301\uff08KB\uff09\u300f\u6587\u672c\u57df\u4e2d\u8f93\u5165\u60a8\u6240\u9047\u5230\u7684\u9519\u8bef\u4fe1\u606f\uff0c\u6216\u8f93\u5165\u5bf9\u95ee\u9898\u7684\u63cf\u8ff0\u4ee5\u8fdb\u884c\u68c0\u7d22\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7279\u522b\u7684\u7231\u7ed9\u7279\u522b\u7684\u4f60\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2271","post","type-post","status-publish","format-standard","hentry","category-tont_history"],"_links":{"self":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/2271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/comments?post=2271"}],"version-history":[{"count":0,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/2271\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/media?parent=2271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/categories?post=2271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/tags?post=2271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}