ASP FileSystem Properties

Definition and Usage

The FileSystem property returns the file system used by the specified drive.

This property can return 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

instance

<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("Το σύστημα αρχείων σε χρήση είναι: " &) d.FileSystem)
set d=nothing
set fs=nothing
%>

Έξοδος:

Το σύστημα αρχείων σε χρήση είναι: FAT