欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

腳本運行時庫  

DateCreated 屬性

返回指定文件或文件夾的創(chuàng)建日期和時間。只讀。

object.DateCreated 

object 應(yīng)為 FileFolder 對象。

說明

下面的代碼通過一個文件說明了 DateCreated 屬性的用法:

[JScript]
function ShowFileInfo(filespec)
{
   var fso, f, s;
   fso = new ActiveXObject("Scripting.FileSystemObject");
   f = fso.GetFile(filespec);
   s = "Created:" + f.DateCreated;
   return(s);
}
[VBScript]
Function ShowFileInfo(filespec)
   Dim fso, f
   Set fso = CreateObject("Scripting.FileSystemObject")
   Set f = fso.GetFile(filespec)
   ShowFileInfo = "Created:" & f.DateCreated
End Function

請參閱

Attributes 屬性 | DateLastAccessed 屬性 | DateLastModified 屬性 | Drive 屬性 | Files 屬性 | IsRootFolder 屬性 | Name 屬性 | ParentFolder 屬性 | Path 屬性 | ShortName 屬性 | ShortPath 屬性 | Size 屬性 | SubFolders 屬性 | Type 屬性

應(yīng)用于:File 對象 | Folder 對象