About File Handling Functions

<< Click to Display Table of Contents >>

Navigation:  Concordance Programming Fundamentals > Advanced Programming Features >

About File Handling Functions

The following table describes the Concordance file handling functions.

Function

Description

chdir

Changes the file system drive and directory.

close

Closes an open file.

diskspace

Determines the amount of disk space available.

erase

Erases a file.

exist

Determines if the file exists.

findfirst

Locates first matching file name.

findnext

Returns next matching file name.

getcwd

Determines the current working drive and directory.

getfile

Prompts the user for a file name.

lseek

Moves to the requested place in a file.

mapDevice

Maps a network drive or printer.

mkdir

Make a new directory.

open

Opens a file for use.

read

Reads data from a file.

readc

Retrieves a character from a file.

readln

Reads a line of text from file.

rename

Renames a file.

rmdir

Remove a directory.

unmapDevice

Unmaps a network drive or printer.

write

Writes data to file.

writec

Writes a character to file.

writeln

Write a line of text to file.