VBS教程:属性-Attributes 属性


Attributes 属性

设置或返回文件或文件夹的属性。可读写或只读(与属性有关)。

object.Attributes [= newattributes]

参数

object

必选项。应为 FileFolder 对象的名称。

newattributes

可选项。如果指定此参数,则 newattributes 为指定的 object 的属性的新值。

设置

newattributes 参数可为下列设置之一或下列设置的合理组合:


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3