| Type | ใช้คืนค่าประเภทของไฟล์ |
|---|
property:Type
return type:String
content:ใช้คืนค่าประเภทของไฟล์
example:Set fsystem = CreateObject ( “Scripting.FileSystemObject” ) virtualpath = Request.ServerVariables ( “PATH_INFO” ) pyhsicalpath = Server.MapPath ( virtualpath ) Set file = fsystem.GetFile ( physicalpath ) Dim filetype = file.Type