Attributes Property

 Object: Folder
 Syntax: Attributes
 Type: Long Integer
 Read/Write: Read/Write (depending on the attribute)
 Description: Returns the file/folder attributes listed below.

The Attributes can have any of the following values or any logical combination of the following values:

Constant Value Description
saNormal 0 Normal directory. No attributes are set.
saReadOnly 1 Read-only directory. Attribute is read/write.
saHidden 2 Hidden directory. Attribute is read/write.
saSystem 4 System directory. Attribute is read/write.
saVolume 8 Disk drive volume label. Attribute is read-only.
saDirectory 16 Folder or directory. Attribute is read-only.
saArchive 32 Directory has changed since last backup. Attribute is read/write.
saAlias 64 Link or shortcut. Attribute is read-only.
saCompressed 2048 Compressed directory. Attribute is read-only.


These constants can be found using the IIS4 or later TypeLibrary feature, or by viewing the vbFileManagerInclude.asp file contained in the .\Samples\FileManagerSamples directory.
 

 

Previous Page Next Page