VBS教程:屬性-DateCreated 屬性
更新時間:2006年11月16日 00:00:00 作者:
DateCreated 屬性
返回指定的文件或文件夾的創(chuàng)建日期和時間。只讀。
object.DateCreated
object 應為 File 或 Folder 對象的名稱。
說明
以下代碼舉例說明如何使用 DateCreated 屬性:
Function ShowFileInfo(filespec) Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFile(filespec) ShowFileInfo = "
創(chuàng)建:" & f.DateCreated
End Function
相關(guān)文章
VBS教程:函數(shù)-LoadPicture 函數(shù)
VBS教程:函數(shù)-LoadPicture 函數(shù)...2006-11-11VBS教程:VBScript 基礎(chǔ)-VBScript 過程
VBS教程:VBScript 基礎(chǔ)-VBScript 過程...2006-11-11用VBS模擬實現(xiàn)PHP的sha1_file函數(shù)效果代碼
用VBS模擬實現(xiàn)PHP的sha1_file函數(shù)效果代碼,需要的朋友可以參考下。2011-01-01使用 iisftpdr.vbs 創(chuàng)建 FTP 虛擬目錄的方法
這篇文章主要介紹了使用 iisftpdr.vbs 創(chuàng)建 FTP 虛擬目錄的方法,需要的朋友可以參考下2014-07-07