Folder 對(duì)象提供對(duì)文件夾所有屬性的訪問(wèn)。 說(shuō)明以下代碼舉例說(shuō)明如何獲得 Folder 對(duì)象并查看它的屬性: Function ShowDateCreated(folderspec)
Dim fso, f,
Set fso =CreateObject("Scripting.FileSystemObject")
Set f =fso.GetFolder(folderspec)
ShowDateCreated =f.DateCreated
End Function
屬性Attributes 屬性 | DateCreated 屬性 | DateLastAccessed 屬性 | DateLastModified 屬性 | Drive 屬性 | Files 屬性 | IsRootFolder 屬性 | Name Property | ParentFolder 屬性 | Path Property | ShortName 屬性 | ShortPath 屬性 | Size 屬性 | SubFolders 屬性 | Type 屬性 方法Copy 方法 | Delete 方法 | Move 方法 | CreateTextFile 方法 請(qǐng)參閱Drive 對(duì)象 | Drives 集合 | File 對(duì)象 | Files 集合 | Folders 集合
返回首頁(yè) |