Microsoft® JScript™
FileSystem Property
 Language Reference 
Version 3 

See Also                  Applies To


Description
Returns the type of file system in use for the specified drive.
Syntax
object.FileSystem

The object is always a Drive object.

Remarks
Available return types include FAT, NTFS, and CDFS.

The following code illustrates the use of the FileSystem property:

function ShowFileSystemType( )
{
    var fs,d, s;
    fs = new ActiveXObject("Scripting.FileSystemObject");
    d = fs.GetDrive("e:");
    s = d.FileSystem;
    window.alert(s);
}

© 1997 by Microsoft Corporation. All rights reserved.