运维开发网

VBS教程:属性-Attributes 属性

运维开发网 https://www.qedev.com 2020-01-16 09:39 出处:网络 作者: 网络整理
VBS教程:属性-Attributes 属性

Attributes 属性

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

object.Attributes [= newattributes]

参数

object

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

newattributes

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

设置

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

0

精彩评论

暂无评论...
验证码 换一张
取 消