Attrib、Data、Lable命令使用说明

attrib 设置文件属性

[适用场合] 想对文件做较特殊的处理时

[用 法] attrib 显示所有文件的属性

attrib r或-r [文件名] 设置文件属性是否为只读

attrib h或-h [文件名] 设置文件属性是否隐含

attrib s或-s [文件名] 设置文件属性是否为系统文件

attrib a或-a [文件名] 设置文件属性是否为归档文件

attrib /s 设置包括子目录的文件在内的文件属性

[例 子] C:\\TEST

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus