This demo illustrates that the Attributes property of the File object is a numeric value.
This simple example outputs the value of the Attributes property for the /index.shtml
file.
Output:
32
The Source Code:
<%
Dim objFSO, objFile
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
'Grab a file
Set objFile = objFSO.GetFile(Server.MapPath("/index.shtml"))
Response.Write objFile.Attributes
Set objFile = Nothing
Set objFSO = Nothing
%>