返回指定驅(qū)動(dòng)器所使用的文件系統(tǒng)的類(lèi)型。
object.FileSystem
其中 object 總是一個(gè) Drive 對(duì)象。
可能的返回類(lèi)型包括 FAT、NTFS、和 CDFS。
下面這段代碼說(shuō)明了 FileSystem 屬性的用法:
[JScript]
function ShowFileSystemType(drvPath)
{
var fso,d, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
d = fso.GetDrive(drvPath);
s = d.FileSystem;
return(s);
}
[VBScript]
Function ShowFileSystemType(drvspec)
Dim fso,d
Set fso = CreateObject("Scripting.FileSystemObject")
Set d = fso.GetDrive(drvspec)
ShowFileSystemType = d.FileSystem
End Function
AvailableSpace 屬性 | DriveLetter 屬性 | DriveType 屬性 | FreeSpace 屬性 | IsReady 屬性 | Path 屬性 | RootFolder 屬性 | SerialNumber 屬性 | ShareName 屬性 | TotalSize 屬性 | VolumeName 屬性
應(yīng)用于:Drive 對(duì)象