ASP FileSystem 属性

定义和用法

FileSystem 属性返回指定的驱动器所使用的文件系统。

此属性可返回下列的值:

  • FAT - 可移动驱动器
  • CDFS - kifungu cha kifungu cha CD-ROM
  • FAT, FAT32 ama NTFS - kifungu cha kifungu cha mifungo kwa Windows 2000 ama Windows NT
  • FAT au FAT32 - kifungu cha kifungu cha mifungo kwa Windows 9x

Mafariko:

DriveObject.FileSystem

mikili

<%
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