返回指定的驅(qū)動(dòng)器使用的文件系統(tǒng)的類(lèi)型。
object.FileSystem
object 應(yīng)為 Drive 對(duì)象的名稱。
可用的返回類(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.FileSystemEnd Function
新聞熱點(diǎn)
疑難解答
圖片精選