| ParentFolder | ใช้คืนค่า Folder ของ File |
|---|
property:ParentFolder
return type:Object
content:ใช้คืนค่า Folder ของ File
example:Set fsystem = CreateObject ( “Scripting.FileSystemObject” ) virtualpath = Request.ServerVariables ( “PATH_INFO” ) pyhsicalpath = Server.MapPath ( virtualpath ) Set file = fsystem.GetFile ( physicalpath ) Set folder = file.ParentFolder