ASP FileSystemProperty
Complete Drive Object Reference
The FileSystem property returns the file system used by the specified drive.
This property can return one of the following values:
- FAT - Removable drive
- CDFS - CD-ROM drive
- FAT, FAT32, or NTFS - Hard disk drive on Windows 2000 or Windows NT
- FAT or FAT32 - Hard disk drive on Windows 9x
Syntax
DriveObject.FileSystem
Example
<%
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
%>
Output:
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
%>
Output:
The file system in use is: NTFS
Complete Drive Object Reference Other Extensions