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

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

Example

The following code displays a directory in a DOS window.

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

Siebel eScript Language Reference