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

Clib.chdir() Method


This method changes the current directory for the Siebel application.

Syntax

Clib.chdir(dirPath)

Parameter
Description
dirpath
The path to the directory to make current

Returns

0 if successful; otherwise, -1.

Usage

This method changes the current directory for the Siebel application. The default directory for a Siebel application in a Windows environment is always c:\siebel\bin. When the script finishes, this directory again becomes the default directory.

dirPath can be an absolute or relative path specification.

Example

For an example, read Clib.getcwd() Method.

See Also

Clib.getcwd() Method, Clib.mkdir() Method, and Clib.rmdir() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003