Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >

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 the directory in which the application was installed. When the script finishes, this directory again becomes the default directory.

dirPath can be an absolute or relative path specification.

See Also

Clib.getenv() Method
Clib.mkdir() Method
Clib.rmdir() Method

Siebel eScript Language Reference