Sys\_GetFileSystemType
Description
Section titled “Description”Returns the file system type
Syntax
Section titled “Syntax”Sys_GetFileSystemType(sDriveLetter, bMustExist) As Boolean
Parameters
Section titled “Parameters”sDriveLetter (String)
Drive letter to inspect
bMustExist (Boolean)
Drive letter must exist
Return value
Section titled “Return value”Result will be stored in gsValue. Possible values: ‘FAT’, ‘NTFS’
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Sys_GetFileSystemType("C", True)If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)Related functions
Section titled “Related functions”Sys_GetFreeDiskSpace Sys_GetDriveType