Difference between revisions of "DIR"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Disk and File Utilities | Disk and File Utilities | ||
Line 22: | Line 19: | ||
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 34: | Line 32: | ||
* 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. | Please see the CREATE command for information on the Dictionary, Triggers and Security. |
Revision as of 12:05, 28 April 2009
Class
Disk and File Utilities
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 Terminal Developer