ASP FileSystem property
FileSystem property returns the specified file system drive is used.
This property can return the following values:
- FAT - removable drives
- CDFS - CD-ROM drive
- FAT, FAT32 or NTFS - the hard drive on a Windows 2000 or Windows NT
- FAT or FAT32 - the hard drive on a Windows 9x
grammar
DriveObject.FileSystem
Examples
<%
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
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
Complete Drive Object Reference