FileSystem 屬性返回指定的驅(qū)動(dòng)器使用的文件系統(tǒng)的類(lèi)型。 object.FileSystem
object 應(yīng)為 Drive 對(duì)象的名稱(chēng)。 說(shuō)明可用的返回類(lèi)型包括 FAT、NTFS 和 CDFS。 以下代碼舉例說(shuō)明如何使用 FileSystem 屬性: Function ShowFileSystemType(drvspec)
Dim fso,d, s
Set fso =CreateObject("Scripting.FileSystemObject")
Set d =fso. GetDrive(drvspec)
ShowFileSystemType =d.FileSystem
End Function
請(qǐng)參閱AvailableSpace 屬性 | DriveLetter 屬性 | DriveType 屬性 | FileSystemObject 對(duì)象 | FreeSpace 屬性 | IsReady 屬性 | Path 屬性 | RootFolder 屬性 | SerialNumber 屬性 | ShareName 屬性 | TotalSize 屬性 | VolumeName 屬性 應(yīng)用于:Drive 對(duì)象
返回首頁(yè) |