SYS_MakeDir Function

Action

Creates the specified directory.

Syntax

SYS_MakeDir (sDir)
Variable Description
sDir The name of the directory to create. STRING.

Notes

An exception is raised if sDir already exists.

Windows Platforms

SYS_MakeDir 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.

Example

STRING sTempDir
sTempDir = SYS_GetDir () + "\tempdir"
SYS_MakeDir (sTempDir)