VBS教程:属性-Attributes 属性
更新时间:2006年11月16日 00:00:00 作者:
Attributes 属性
设置或返回文件或文件夹的属性。可读写或只读(与属性有关)。
object.Attributes [= newattributes]
参数
object
必选项。应为 File 或 Folder 对象的名称。
newattributes
可选项。如果指定此参数,则 newattributes 为指定的 object 的属性的新值。
设置
newattributes 参数可为下列设置之一或下列设置的合理组合:
相关文章
自动以管理员身份运行批处理bat文件(vbs与bat两种方法)
在日常运维工作中,为方便对windows用户进行系统安装或配置等,使用Windows自带的批处理(bat文件)是一种最为简单快速的方法2020-08-08
Rcmd.vbs [Remote Cmd with wmi]远程脚本
此脚本支持回显2009-07-07


最新评论