Folder.Attributes
JScript3.0+Syntax
folder.Attributes folder.Attributes = attrib
Description
The Attributes property of an instance of the Folder object is used to set or retrieve the attributes of a folder. If the property is called, as in the first syntactical definition, you can retrieve the current attributes of the folder. If you set the property equal to attrib, you are able to set new attributes. Table 9.15 has the values of the attributes.
Value | Stands For | Description |
---|---|---|
0 | Normal | Normal folder with no attributes set |
1 | Read Only | Read-only folder with read/write attribute |
2 | Hidden | Hidden folder with read/write attribute |
4 | System | System folder with read/write attribute |
8 | Volume | Disk drive volume label with read-only attribute ... |
Get Pure JavaScript now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.