Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

Clib.system() Method


This method passes a command to the command processor.

Syntax

Clib.system(commandString)

Parameter
Description
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.

The commandString value may be a formatted string followed by variables according to the rules defined in Table 7 in the section Formatting Data.

Example

The following code displays a directory in a DOS window, as shown:

Clib.system("dir /p C:\\Backup");


 Siebel eScript Language Reference 
 Published: 18 April 2003