DADiSP Worksheet Functions > Function Categories > Worksheet Control > CHKFILES

 

CHKFILES

Purpose:

Checks the file integrity of a Labbook.

Syntax:

CHKFILES(mode)

mode

-

Optional. An integer, delete orphaned files:

0:

do not delete

1:

delete orphanded files (default)

Returns:

Nothing. Renames unreferenced Labbook files with the extension .ORF, and optionally deletes them.

Example:

chkfiles

 

Examines each Worksheet, Dataset and Channel file in the current Labbook and automatically deletes any unreferenced files.

Remarks:

CHKFILES checks if any Labbook files are no longer referenced by Labbook objects. For example, temporary files will not be deleted if the machine improperly shuts down while a Labbook is open. These temporary files will be unreferenced in the next DADiSP session and CHKFILES can be used to automatically remove and recover the file space.

See Also:

EVAL

RUN