file.Attributes[newattributes]
The Attributes property is used to determine and/or set the attributes of a file. This property is an array that takes the optional parameter newattributes, to set any new attributes. Attributes can be read/write or read-only. The list of valid attributes is shown