Operating System Calls
Includes functions for operating system calls.
HOST_GetEnv Function
Returns the value of an environment variable on the host machine.
SYS_CreateRegistryKey Function
Creates a new key in the registry.
SYS_CreateRegistryValue Function
Creates a new value.
SYS_CompareBinary Function
Performs binary comparison on two files.
SYS_CompareBitmap Function
Compares two bitmap files.
SYS_CompareText Function
Compares two text files and reports whether they match.
SYS_CopyFile Function
Copies a file.
SYS_DeleteRegistryKey Function
Deletes a key from the registry.
SYS_DeleteRegistryValue Function
Deletes a value from the registry.
SYS_DirExists Function
Checks whether the specified directory exists.
SYS_Execute Function
Executes the specified command.
SYS_ExistsRegistryKey Function
Checks if a key exists in the registry.
SYS_ExistsRegistryValue Function
Checks if a value exists in the registry.
SYS_FileExists Function
Checks whether the specified file exists.
SYS_GetBitmapCRC Function
Returns the cyclic redundancy check (CRC) value of a bitmap file.
SYS_GetDir Function
Returns the name of the current working directory.
SYS_GetDirContents Function
Returns information about the files in a directory.
SYS_GetDrive Function
Returns the name of the current drive.
SYS_GetEnv Function
Returns the value of an environment variable of the operating system.
SYS_GetExecutableDir Function
Returns the location of the agent executable (agent.exe) on a remote machine.
SYS_GetFileContents Function
Returns the contents of the specified file on the target machine.
SYS_GetFreeDiskSpace Function
Returns the amount of free disk space (in bytes or specified units) on the specified disk drive.
SYS_GetFreeMemory Function
Returns the amount of free memory.
SYS_GetMemoryInfo Function
Returns performance information on Windows.
SYS_GetName Function
Returns the name of the operating system on the target system where the
4Test
Agent is running.
SYS_GetRegistryKeyNames Function
Returns a list of key names in string.
SYS_GetRegistryValue Function
Returns the data value of an item in the Windows registry.
SYS_GetVersion Function
Returns the version number of the operating system.
SYS_MakeDir Function
Creates the specified directory.
SYS_MoveFile Function
Moves the specified file.
SYS_RemoveDir Function
Deletes the specified directory.
SYS_RemoveFile Function
Deletes the specified file.
SYS_SetDir Function
Changes the current working directory on a specified drive and changes the current drive, if specified.
SYS_SetDrive Function
Sets the current drive.
SYS_SetEnv Function
Sets the value of the specified environment variable.
SYS_SetRegistry Function
Sets the view of the Windows registry.
SYS_SetRegistryValue Function
Sets the data value of an item in the Windows registry.
SYS_VerifyText Function
Compares two text files and raises an error if there are differences.
Parent topic:
Functions
Related reference
SYS Functions Supported by the Open Agent and the Classic Agent