[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|        DIR or DIRECTORY         |
+---------------------------------+
DIR | DIRECTORY [[ON] <drive:>]
        [[LIKE] [<path>] [<skel>]]
        [TO PRINTER | TO FILE <file>]

-----------------------------------
Displays disk directory listing.
-----------------------------------

The DIR command displays the names of all database files in the current
directory, the number of records in each file, the date each file was
last updated, and the size of each file in bytes (databases in the
original FoxBASE format are noted as such).  The number of files
displayed and the total number of bytes remaining on the disk are also
displayed.  The file information on the current drive and directory is
displayed unless otherwise specified using the <drive:> and/or <path>
arguments.

To display information about file types other than databases, specify
the <skel> option.  <skel> is a file specification skeleton that
supports wildcard characters.  For example, to list all program files in
the current drive and directory use DIR *.PRG.

This file listing may be routed to a printer with the TO PRINTER option
or to a text file with the TO FILE <file> option.

Clauses
-------

[ON] <drive:>
        Drive on which directory resides.

LIKE <path> <skel>
        <path> is DOS path that describes location of directory; <skel> lets
you display information about file types other than databases.

TO PRINTER | TO FILE
        Routes listing to printer or to text file.

+---------------------------------+
|             Examples            |
+---------------------------------+
DIR         && Display databases in the current directory

DIR *.IDX   && Display index files in the current directory

DIR V*.DBF  && Display databases that begin with V

-----------------------------------

See Also:  FILER

-----------------------------------

See Also: FILER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson