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



Drive 對象

提供對磁盤驅(qū)動器或網(wǎng)絡(luò)共享的屬性的訪問。

說明

以下代碼舉例說明如何使用 Drive 對象訪問驅(qū)動器的屬性:

Function ShowFreeSpace(drvPath)
Dim fso, d, s
Set fso =CreateObject("Scripting.FileSystemObject")
Set d =fso.GetDrive(fso.GetDriveName(drvPath))
s ="驅(qū)動器 " & UCase(drvPath) & " - " 
 s =s & d.VolumeName & "<BR>" s =s & "可用空間: " & FormatNumber(d.FreeSpace/1024, 0) s =s & "KB"ShowFreeSpace =sEnd Function

屬性

AvailableSpace 屬性 | DriveLetter 屬性 | DriveType 屬性 | FileSystem 屬性 | FreeSpace 屬性 | IsReady 屬性 | Path 屬性 | RootFolder 屬性 | SerialNumber 屬性 | ShareName 屬性 | TotalSize 屬性 | VolumeName 屬性

方法

Drive 對象無任何方法。

請參閱

Drives 集合 | File 對象 | Files 集合 | Folder 對象 | Folders 集合 | GetDrive 方法

返回首頁