Microsoft® Visual Basic® Scripting Edition 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(drvspec)
> >       Dim fso,d
> >       Set fso = CreateObject("Scripting.FileSystemObject")
> >       Set d = fso.GetDrive(drvspec)
> >       ShowFileSystemType = d.FileSystem
> >     End Function

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.