Siebel eScript Language Reference > C Language Library Reference > Other Clib Methods >
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)
Table 189 describes the arguments for the Clib Send Command method.
Table 189. Arguments for the Clib Send Command Method
|
|
commandString |
Contains the name of a valid operating system command. This value can include a formatted string followed by variables. For more information, see Characters That Format Values. |
Example
The following example displays a directory in a DOS window: Clib.system("dir /p C:\\Backup");
|