Export (0) Print
Expand All
F
Expand Minimize

Visual Basic for Applications Reference

Visual Studio 6.0

FileSystem Property

See Also    Example    Applies To    Specifics

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:

Sub ShowFileSystemType
    Dim fs,d, s
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set d = fs.GetDrive("e:")
    s = d.FileSystem
    MsgBox s
End Sub
Show:
© 2014 Microsoft