DIR

From Lianjapedia
Revision as of 06:49, 10 February 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Display a directory of files

Syntax

DIR [<skeleton>]

See Also

!, ADIR(), 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

Example

dir
dir *.prg