![]() |
VOOZH | about |
The ASP Attributes Property is used for returning or setting the attributes of the specified file or folder. The attributes are defined with the following numerical values:
Syntax:
For a File Object:
FileObject.Attributes[=newattributes]
For a Folder Object:
FolderObject.Attributes[=newattributes]
Parameters: This property has a single parameter as mentioned above and described below:
The below examples demonstrate the ASP Attributes Property.
Example 1: The below code returns the attributes of the file.
Output:
The attributes of the file are: 1024
Example 2: The below code returns the attributes of the folder.
Output:
The attributes of the folder are: 18