Visual Basic Scripting Edition | Language Reference |
Provides access to all the properties of a folder.
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
Attributes Property | DateCreated Property | DateLastAccessed Property | DateLastModified Property | Drive Property | Files Property | IsRootFolder Property | Name Property | ParentFolder Property | Path Property | ShortName Property | ShortPath Property | Size Property | SubFolders Property | Type Property
Copy Method | Delete Method | Move Method | CreateTextFile Method
Drive Object | Drives Collection | File Object | Files Collection | Folders Collection