Easy Tutorial
❮ Prop Datelastmodified File Prop Comparemode ❯

ASP Attributes Property



The Attributes property is used to set or return the attributes of a specified file or folder.

Syntax

Parameter Description
newattributes Optional. Specifies the attribute value of the file or folder. Can be one of the following values or a combination of these values: 0 = Normal file.<br> 1 = Read-only file.<br> 2 = Hidden file.<br> 4 = System file.<br> 16 = Folder or directory.<br> 32 = File changed since last backup.<br> 1024 = Link or shortcut.<br> 2048 = Compressed file.

Example for File Object

Example for Folder Object


❮ Prop Datelastmodified File Prop Comparemode ❯