The DIR command selectively lists the entries in a specified directory.  Files
with the "hidden" attribute are not displayed even when present.  The command
format is as follows:

          DIR [d:][path][filename][.ext][/P][/W]

If the disk drive or path are not specified, the defaults are assumed.  If the
filename and extension are not given, all the files and subdirectories in the
specified directory are displayed.  When the filename is given, only files
with names that match the name given are displayed.  The global filename
characters "*" and "?" are allowed in both the filename and extension (see the
help file GLOBALS for details).

There are two options available with this command:
/P  - Pause when the screen is full and request a key to continue.

/W  - Produce a wide directory display listing only the file and directory
      names (all other information is suppressed).

The directory listing displayed normally contains the volume label, the
directory path being presented, and the amount of free space on the disk.
Lines describing files list the file name and extension, size, and last date
and time modified.  Subdirectory entries have <DIR> in place of the file size.
Examples:

DIR  - Display all the files and subdirectories contained in the current
       directory.

DIR \  - Display all the files and subdirectories in the root directory of
         the default disk.

DIR B:\DIR1\*.DAT  - Display all the files with a .DAT extension in directory
                     DIR1 on drive B:.  The "*" did not need to be specified.

DIR >PRN  - Print all the files and subdirectories in the current directory on
            the system printer (see the help file REDIRECT for details).

DIR |FIND " HLP" |SORT  - Send a full directory listing to the FIND command.
                          FIND will locate all lines with .HLP files and send
                          those to SORT which will output a sorted directory
                          on the screen.  DIR *.HLP would have sent the volume
                          label and files found count to the SORT command so
                          the FIND command removes those lines.  For more
                          information on this see the help files PIPING,
                          FIND and SORT.
