Attr Property

Object List Next Object

Defined By:
File

Description:

Numerical representation of the file
s attributes.

Details:

This property is read only and can't be changed. The default value is -1.

The value of the Attr property is the same that would be returned by a call to the Win32 API function GetFileAttributes, passing the FileName as the argument to that function. There are constants defined on the Kernel32 object that correspond to flag values that may be combined in the Attr value. These constants are all named FILE_ATTRIBUTE_..., e.g. FILE_ATTRIBUTE_ARCHIVE.

Data Type: Long (Read only)