Prop Attributes File
# ASP Attributes
* * Complete File Object Reference Manual](#)
* * *
The Attributes property is used to set or return the attributes of a specified file or folder.
### Syntax
FileObject.Attributes
FolderObject.Attributes
| Parameter | Description |
| --- | --- |
| newattributes | Optional. Specifies the attribute value for the file or folder. Can be one of the following values or a combination of these values: 0 = Normal file. 1 = Read-only file. 2 = Hidden file. 4 = System file. 16 = Folder or directory. 32 = File that has changed since last backup. 1024 = Link or shortcut. 2048 = Compressed file. |
### Example for File Object
Output:
The attributes of the file are: 32
### Example for Folder Object
Output:
The attributes of the folder are: 16
* * Complete File Object Reference Manual](#)
YouTip