返回指定的驅動器使用的文件系統的類型。
object.FileSystem
object 應為 Drive 對象的名稱。
可用的返回類型包括 FAT、NTFS 和 CDFS。
以下代碼舉例說明如何使用 FileSystem 屬性:
Function ShowFileSystemType(drvspec) Dim fso,d, s Set fso = CreateObject("Scripting.FileSystemObject") Set d = fso. GetDrive(drvspec) ShowFileSystemType = d.FileSystemEnd Function
新聞熱點
疑難解答