完整的 Drive 對象參考手冊
FileSystem 屬性傳回指定的驅動器所使用的檔案系統。
此屬性可傳回下列值之一:
- FAT - 可移動驅動器
- CDFS - CD-ROM 驅動器
- FAT、FAT32 或 NTFS - 在 Windows 2000 或 Windows NT 上的硬碟驅動器
- FAT 或 FAT32 - 在 Windows 9x 上的硬碟驅動器
文法
DriveObject.FileSystem
執行個體
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The file system in use is: " & d.FileSystem)
set d=nothing
set fs=nothing
%>
輸出:
The file system in use is: NTFS
完整的 Drive 對象參考手冊