- Код: Выделить всё
Dim InfoFile As File
Set InfoFile = fso.GetFile(File1.FileName)
Label1.Caption = "Èìÿ ôàéëà " & InfoFile.Name & "\" & File1
Label8.Caption = "Òèï: " & InfoFile.Type
Label2.Caption = "Ïîëíûé ïóòü " & vbCrLf & InfoFile.Path
Label3.Caption = "Äàòà ñîçäàíèÿ " & InfoFile.DateCreated
Label4.Caption = "Äàòà ìîäèôèêàöèè " & InfoFile.DateLastModified
Label5.Caption = "Äàòà ïîñëåäíåãî äîñòóïà " & InfoFile.DateLastAccessed
Label6.Caption = "Ðàçìåð ôàéëà " & InfoFile.Size