FileSystem 屬性
返回指定的驅動器使用的文件系統(tǒng)的類型。
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
您可能感興趣的文章:- VBS中FileSystemObject對象詳解(完整版)
- VBS基礎篇 - FileSystemObject對象詳解
- VBS教程:對象-FileSystemObject 對象
- VB FileSystemObject對象實例詳解