Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

FileSystem Property

Returns the type of file system in use for the specified drive.


The object is always a Drive object.

Available return types include FAT, NTFS, and CDFS.

The following code illustrates the use of the FileSystem property:

function ShowFileSystemType(drvPath)
   var fso,d, s;
   fso = new ActiveXObject("Scripting.FileSystemObject");
   d = fso.GetDrive(drvPath);
   s = d.FileSystem;

Function ShowFileSystemType(drvspec)
   Dim fso,d
   Set fso = CreateObject("Scripting.FileSystemObject")
   Set d = fso.GetDrive(drvspec)
   ShowFileSystemType = d.FileSystem
End Function

Applies To:

Community Additions

© 2015 Microsoft