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

VBS教程:屬性-Drive 屬性

 更新時間:2006年11月16日 00:00:00   作者:  

Drive 屬性

返回指定的文件或文件夾所在的驅(qū)動器的驅(qū)動器號。只讀。

object.Drive

object 應(yīng)為 File 或 Folder 對象的名稱。

說明

以下代碼舉例說明如何使用 Drive 屬性:

Function ShowFileAccessInfo(filespec)    Dim fso, f, s    Set fso = CreateObject("Scripting.FileSystemObject")    Set f = fso.GetFile(filespec)    s = f.Name & " 位于驅(qū)動器 " & UCase(f.Drive) & "<BR>"    s = s & "創(chuàng)建時間:" & f.DateCreated & "<BR>"    s = s & "上次訪問時間:" & f.DateLastAccessed & "<BR>"    s = s & "上次修改時間:" & f.DateLastModified  ShowFileAccessInfo = sEnd Function

相關(guān)文章

最新評論