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:

ConstantValueDescription
saNormal0Normal directory. No attributes are set.
saReadOnly1Read-only directory. Attribute is read/write.
saHidden2Hidden directory. Attribute is read/write.
saSystem4System directory. Attribute is read/write.
saVolume8Disk drive volume label. Attribute is read-only.
saDirectory16Folder or directory. Attribute is read-only.
saArchive32Directory has changed since last backup. Attribute is read/write.
saAlias64Link or shortcut. Attribute is read-only.
saCompressed2048Compressed 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\FileManagerSamplesdirectory.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.