set fso=server.createobject("scripting.filesystemobject")
get ofile=fso.getfile(server.mappath("111.txt"))
response.write "大小" & ofile.size & "<br>"
if cint(ofile.Attributes and 1)<>0 then response.write "只读,"
if cint(ofile.Attributes and 2)<>0 then response.write "隐含,"
if cint(ofile.Attributes and 4)<>0 then response.write "系统,"
if cint(ofile.Attributes and 16)<>0 then response.write "目录,"
if cint(ofile.Attributes and 32)<>0 then response.write "存档,"