Donne accès aux propriétés d'un fichier.
Le code suivant illustre l'obtention d'un objet File et l'affichage d'une de ses propriétés.
Function ShowDateCreated(filespec)
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(filespec)
ShowDateCreated = f.DateCreated
End Function
Attributes, propriété | DateCreated, propriété | DateLastAccessed, propriété | DateLastModified, propriété | Drive, propriété | Name, propriété | ParentFolder, propriété | Path, propriété | ShortName, propriété | ShortPath, propriété | Size, propriété | Type, propriété
Copy, méthode | Delete, méthode | Move, méthode | OpenAsTextStream, méthode
Drive, objet | Drives, collection | Files, collection | Folder, objet | Folders, collection