Easy Tutorial
❮ Asp Ref Error Asp Quickref ❯

ASP Attributes Attribute



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

Syntax

Parameter Description
newattributes Optional. Specifies the attribute values for the file or folder. Can be one or a combination of the following 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


❮ Asp Ref Error Asp Quickref ❯