Siebel VB Language Reference > Quick Reference for Siebel VB Methods > Error Handling Methods >

File Control Quick Reference


The following table lists methods that you can use to control files.

Statement
Purpose
Reference

Close

Closes a file.

Close File Method

Dir

Returns a file name that matches a pattern.

Get File Names Method

FileAttr

Returns the file mode or the operating system handle for an open file.

Get File Mode Method

FileCopy

Copies a file.

Copy File Method

FileDateTime

Returns the last modification date and time of a file.

Get File Date Method

FileLen

Returns the length of a file.

Get File Length 2 Method

FreeFile

Returns the next unused file number.

Get Free File Number Method

GetAttr

Returns attributes of a file, directory, or volume label.

Get File Attributes Method

Kill

Deletes a file.

Delete File Method

Lock

Controls access to an open file.

Lock File Method

Lof

Returns the length of a file in bytes.

Get File Length Method

Name

Renames a file or copies a file from one directory to another directory.

Rename File Method

Open

Opens a file.

Open File Method

Reset

Closes open files and writes to disk any data that currently resides in buffers.

Close All Files Method

SetAttr

Sets attribute information for a file.

Set File Attributes Method

Unlock

Controls access to some or all of an open file by other processes.

Unlock File Method

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