Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP FileSystem Property


❮ Complete Drive Object Reference

The FileSystem property returns the file system in use for a specified drive.

This property will return one of the following:

  • FAT - for removable drives
  • CDFS - for CD-ROM drives
  • FAT, FAT32 or NTFS - for hard disks on Windows 2000 or Windows NT
  • FAT or FAT32 - for hard disks 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

❮ Complete Drive Object Reference