![]() |
VOOZH | about |
The ASP Type Property is used to return the type of the particular file or folder. It returns the complete name of the type of file or folder.
Syntax:
For File Object:
FileObject.Type
For Folder Object:
FolderObject.Type
The below examples demonstrate the ASP Type Property.
Example 1:
Output:
The file GFG.txt is of type: Text Document
Example 2:
Output:
The file GFG.asp is of type: Active Server Document
Example 3: The below code demonstrates the ASP Folder.Type Property.
Output:
The type of the folder is: File folder