ASP FileSystem 属性
定义和用法
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("Sistem fail yang digunakan adalah: " & d.FileSystem) set d=nothing set fs=nothing %>
Output:
Sistem fail yang digunakan adalah: FAT