上海龙凤1314 shlf

dos的attrib命令使用说明 -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【gdyhdog.com - 电脑资料】

attrib:设置文件属性

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

[用法]

attrib 显示所有文件的属性

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

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

上海龙凤1314 shlfattrib +s或-s [文件名] 设置文件属性是否为系统文件

上海龙凤1314 shlfattrib +a或-a [文件名] 设置文件属性是否为归档文件

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

[例子]C:\TEST>attrib +r wina20.386

上海龙凤1314 shlfC:\>attrib +h *.* /s    隐含所有文件

最新文章