Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Uncategorized Methods >
Clib.system() Method
This method passes a command to the command processor. Syntax
Clib.system(commandString)
|
|
commandString |
A valid operating system command |
Returns
The value returned by the command processor. Usage
This command passes a command to the operating system command processor and opens an operating system window in which it executes. Upon completion of the command, the window closes. An alternative that does not open a window is SElib.dynamicLink() Method. The commandString value may be a formatted string followed by variables according to the rules defined in Table 34. Example
The following code displays a directory in a DOS window. Clib.system("dir /p C:\\Backup");
|