Difference between revisions of "DIR"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
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 | + | [[!]], [[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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
Line 41: | Line 31: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[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
Contents
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