DriveGetFileSystem

Returns the type of the specified drive's file system.

FileSystem := DriveGetFileSystem(Drive)

Parameters

Drive

Type: String

The drive letter followed by a colon and an optional backslash, or a UNC name such as "\server1\share1".

Return Value

Type: String

This function returns the type of Drive's file system. The possible values are defined by the system; they include (but are not limited to) the following: NTFS, FAT32, FAT, CDFS (typically indicates a CD), or UDF (typically indicates a DVD).

Error Handling

An exception is thrown on failure, such as if the drive does not contain formatted media.

Drive functions

Examples

See example #1 on the Drive Functions page for a demonstration of this function.