image\cslogo3d1.gif

VBScript Drive Object FileSystem Property

Returns the type of file system in use for the specified drive. This property is not currently supported on UNIX.

Syntax: VBScript Drive Object FileSystem Property

object.FileSystem

Arguments: VBScript Drive Object FileSystem Property

object

A Drive object.

Remarks: VBScript Drive Object FileSystem Property

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

Response.Write s

End Sub

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.