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

Clib.remove() Method


This method deletes a specified file.

Syntax

Clib.remove(filename)

Parameter
Description
filename
A string or string variable containing the name of the file to be deleted

Returns

0 if successful; otherwise, -1.

Usage

The filename parameter may be either an absolute or a relative filename.

Example

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

See Also

Clib.fopen() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003