Returns the name of the current drive.
sName = SYS_GetDrive ( )
Variable | Description |
---|---|
sName | The name of the drive. STRING. |
SYS_GetDrive returns the name of the current drive. The string it returns is an uppercase alphabetic character without the accompanying colon (:) character.
SYS_GetDrive is executed by the Agent process, not the Silk Test Classic process. To affect the host process, use the function with the hHost notation or machine handle operator. For more information about the machine handle operator and hHost, see Machine handle operator.
STRING sCurDrive sCurDrive = SYS_GetDrive ()