Page tree
Skip to end of metadata
Go to start of metadata

Description

Returns the file system type

 

Syntax

Sys_GetFileSystemType(sDriveLetter, bMustExist) As Boolean

 

Parameters

sDriveLetter (String)

Drive letter to inspect

bMustExist (Boolean)

Drive letter must exist

 

Return value

Result will be stored in gsValue. Possible values: 'FAT', 'NTFS'

 

Example

VBScript
If bStatus Then bStatus = Sys_GetFileSystemType("C", True)
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

Sys_GetFreeDiskSpace Sys_GetDriveType

  • No labels