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

VBS教程:屬性-Drives 屬性

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

Drives 屬性

返回由本地機器上所有 Drive 對象組成的 Drives 集合。

object.Drives

object 應為 FileSystemObject 對象的名稱。

說明

無論是否插入媒體,可移動媒體驅(qū)動器都顯示在 Drives 集合中。

您可以使用 For Each...Next 結構枚舉 Drives 集合的成員,如下例所示:

Function ShowDriveList   Dim fso, d, dc, s, n   Set fso = CreateObject("Scripting.FileSystemObject")   Set dc = fso.Drives   For Each d in dc      n = ""      s = s & d.DriveLetter & " - "       If d.DriveType = 3 Then         n = d.ShareName      ElseIf d.IsReady Then         n = d.VolumeName      End If      s = s & n & "<BR>"   Next   ShowDriveList = sEnd Function

相關文章

最新評論