DIR

Command

DIR [filename]

Explanation

Display the file directory

Examples

>DIR
ONEPROG.HBA TWOPROG.HBA FINAL.HEX
ANOTHER.1

DIR can also be used with wildcards as follows:

>DIR FILE?.TXT
FILE1.TXT FILE2.TXT FILE3.TXT
FILE4.TXT FILE5.TXT

or

>DIR A?FILE.COM
AAFILE.COM ACFILE.COM A4FILE.COM

or

>DIR *.HBA
PROG1.HBA PROG2.HBA START.HBA

Remarks

A combination of wildcard characters can also be used.

If the directory is too long to fit on the display screen the use of the cursor control keys can scroll back the virtual screen to see the earlier entries.

The virtual screen contains 24 lines, if a file directory extends more than 24 lines , the top lines will scroll off the screen. Use of wildcards may help in limiting the number of directory lines displayed.

See Also

ERA, REN, STAT