有关文件时间的属性- Set objFSO = CreateObject("Scripting.FileSystemObject")
- Set objFile = objFSO.GetFile("C:\Program Files\Internet Explorer\JSProfilerCore.dll")
-
- MsgBox "创建时间:" & objFile.DateCreated & vbCrLf & vbCrLf & _
- "最后访问时间:" & objFile.DatelastAccessed & vbCrLf & vbCrLf & _
- "最后修改时间:" & objFile.DateLastModified
复制代码
|