提供對文件夾所有屬性的訪問。
以下代碼舉例說明如何獲得 Folder 對象并查看它的屬性:
Function ShowDateCreated(folderspec) Dim fso, f, Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(folderspec) ShowDateCreated = f.DateCreatedEnd Function
|
新聞熱點
疑難解答