Siebel eScript Language Reference > Siebel eScript Quick Reference > Other Clib Methods >

File and Directory Methods


This topic describes file and directory methods.

File Manipulation Methods

Table 192 describes file control methods.

Table 192. Quick Reference for File Control Methods
Method
Description

Clib Close File Method

Closes an open file.

Clib Create Temporary File Method

Creates a temporary file.

Clib Create Temporary File Name Method

Gets a temporary file name.

Clib Delete File Method

Deletes a file.

Clib Lock File Method

Handles file locking and unlocking.

Clib Open File Method

Opens a file.

Clib Rename File Method

Renames a file.

Clib Reopen File Method

Reopens a file.

File Manipulation Methods

Table 193 describes file manipulation methods.

Table 193. Quick Reference for File Manipulation Methods
Method
Description

Clib Clear Buffer Method

Writes to disk the data that exists in the buffer, and then clears the buffer.

Clib Get Character Method

Gets a character from the buffer.

Clib Get Characters to Next Line Method

Gets a string that includes characters from the cursor to the next newline character.

Clib Get Cursor Position Method

Gets the current position of the file cursor.

Clib Get Relative Cursor Position Method

Gets the position of the file cursor relative to the beginning of the file.

Clib Move Cursor to Beginning of File Method

Moves the file cursor to the beginning of a file.

Clib Read From File Method

Reads data from a file.

Clib Restore Cursor Position Method

Sets the current file cursor to a position that you specify.

Clib Scan and Convert from Input Device Method

Reads input from an input device and stores the data in arguments.

Clib Set Cursor Position Method

Sets the cursor position in a file.

Clib Unget Method

Pushes a character back to a file.

Clib Write Character Method

Writes a character to a file.

Clib Write Formatted String Method

Writes a formatted string to a file.

Clib Write String to File Method

Writes a string to a file.

Clib Write to File Method

Writes data to a file.

Directory Manipulation Methods

Table 194 describes directory methods.

Table 194. Quick Reference for Disk and Directory Methods
Method
Description

Clib Change Directory Method

Changes directory.

Clib Create Directory Method

Creates a directory.

Clib Get Current Working Directory Method

Gets the current working directory.

Clib Remove Directory Method

Removes a directory.

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.