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

Clib.rmdir() Method


This method removes a specified directory.

Syntax

Clib.rmdir(dirpath)

Parameter
Description
dirpath
The directory to be removed

Returns

0 if successful; otherwise, -1.

Usage

The dirpath parameter may be an absolute or relative path specification.

Example

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

See Also

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


 Siebel eScript Language Reference 
 Published: 18 April 2003