Microsoft® Visual Basic® Scripting Edition Folder Object |
Scripting Run-Time Reference Version 3 |
Description
Provides access to all the properties of a folder.
Remarks
The following code illustrates how to obtain a Folder object and how to return one of its properties:Function ShowDateCreated(folderspec) Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(folderspec) ShowDateCreated = f.DateCreated End Function