DIR

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Display a directory of files


Syntax

DIR [<skeleton>]


See Also

!, ADIR(), DIR(), DECRYPT, DISPLAY FILES, ENCRYPT, LIST FILES, RUN, SET FILETYPE


Description

The DIR command displays filenames in the current directory and path (see SET PATH) matching the specified <skeleton>. The total number of files matching the <skeleton>, their total size and the remaining drive space in Megabytes are also displayed.

If DIR is issued with no <skeleton> specified, then it will list details of the table files only. The table file listing includes the following information:


  • File type if not Recital, e.g. (FP2) for FoxPro table
  • DES3 Encryption status, i.e. (DES3) if table is encrypted
  • Number of Records
  • Last Update date
  • Size in bytes
  • Dictionary status, i.e. Yes or None
  • Triggers status, i.e. Yes or None
  • Security status, i.e. Yes or None
  • Total size of tables in Megabytes
  • Number of tables
  • Drive space remaining in Megabytes


Please see the CREATE command for information on the Dictionary, Triggers and Security.

The DIR command is a synonym of the DISPLAY FILES command. The DIR | DISPLAY FILES commands will pause at each page display, waiting for a key press. For listings without user intervention, please use the LIST FILES command.


Example

dir
dir *.prg


Products

Recital