ASP FileSystem 屬性
定義和用法
FileSystem 屬性返回指定的驅(qū)動(dòng)器所使用的文件系統(tǒng)。
此屬性可返回下列的值:
- FAT - 可移動(dòng)驅(qū)動(dòng)器
- CDFS - CD-ROM 驅(qū)動(dòng)器
- FAT, FAT32 或 NTFS - 在 Windows 2000 或 Windows NT 上的硬盤驅(qū)動(dòng)器
- FAT 或 FAT32 - 在 Windows 9x 上的硬盤驅(qū)動(dòng)器
語法:
DriveObject.FileSystem
實(shí)例
<%
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: FAT