Sys_GetDriveType
Description
Detects type of specified drive
Â
Syntax
Sys_GetDriveType(sDriveLetter, bMustExist) As Boolean
Â
Parameters
sDriveLetter (String)
Drive letter
bMustExist (Boolean)
Drive must exist
Return value
Result will be stored in gsValue. Possible values: 'Unknown', 'Removable', 'Fixed', 'Network', 'CD-ROM', 'RAM Disk'
Â
Example
VBScript
If bStatus Then bStatus = Sys_GetDriveType("D", True) If bStatus Then bStatus = Job_Writelog("Custom", "gsValue: " & gsValue, True)
Â