Difference between revisions of "DIR"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Display a directory of files
 
Display a directory of files
 
  
 
==Syntax==
 
==Syntax==
 
DIR [<skeleton>]
 
DIR [<skeleton>]
 
  
 
==See Also==
 
==See Also==
[[!]], [[ADIR()]], [[DIR()]], [[DECRYPT]], [[DISPLAY FILES]], [[ENCRYPT]], [[LIST FILES]], [[RUN]], [[SET FILETYPE]]
+
[[!]], [[ADIR()]], [[DECRYPT]], [[DISPLAY FILES]], [[ENCRYPT]], [[LIST FILES]], [[RUN]], [[SET FILETYPE]]
 
+
  
 
==Description==
 
==Description==
Line 15: Line 12:
  
 
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:
 
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
 
* File type if not Recital, e.g. (FP2) for FoxPro table
Line 28: Line 24:
 
* Number of tables
 
* Number of tables
 
* Drive space remaining in Megabytes
 
* 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==
 
==Example==
Line 41: Line 31:
 
</code>
 
</code>
  
 
==Products==
 
Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Disk and File Utilities]]
 
[[Category:Disk and File Utilities]]
 
[[Category:Disk and File Utilities Commands]]
 
[[Category:Disk and File Utilities Commands]]

Revision as of 06:49, 10 February 2012

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