Clib Send Command Method
The Clib Send Command method sends a command to the command processor for the operating system and opens an operating system window where it runs. After completing the command, it closes this window. It returns the value that the command processor returns. For an alternative that does not open a window, see Siebel Library Call DLL Method.
Format
Clib.system(commandString)
The following table describes the arguments for the Clib Send Command method.
Argument | Description |
---|---|
commandString |
Contains the name of a valid operating system command. This value can include a formatted string followed by variables. For more information, see Format Characters for Methods That Print. |
Example
The following example displays a directory in a DOS window:
Clib.system("dir /p C:\\Backup");