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.

Table 9.15. Attribute values
ValueStands ForDescription
0NormalNormal folder with no attributes set
1Read OnlyRead-only folder with read/write attribute
2HiddenHidden folder with read/write attribute
4SystemSystem folder with read/write attribute
8VolumeDisk 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.