亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

VBS教程:屬性-Name 屬性

 更新時(shí)間:2006年11月16日 00:00:00   作者:  

Name 屬性

設(shè)置或返回指定的文件或文件夾的名稱。可讀寫。

object.Name [= newname]

參數(shù)

object

必選項(xiàng)。應(yīng)為 FileFolder 對(duì)象的名稱。

newname

可選項(xiàng)。如果提供此參數(shù),則指定的 object 名稱更新為 newname。

說明

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

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

相關(guān)文章

最新評(píng)論