ASP FileSystem Property
❮ 完整 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("使用的檔案系統是: " & d.FileSystem)
set d=nothing
set fs=nothing
%>
輸出
使用的檔案系統是: NTFS
❮ 完整 Drive 物件參考