Table of Contents

Advertisement

DIR
Purpose
This command lists the files in a directory
Format
DIR [filespec][/P][/W]
Description
All directories on drive A will be listed if the
DIR command is entered alone.
1.
If the drive is specified (see example 1) all files
on that drive will be listed.
2.
3.
If only a filename is specified with no extension
(see example 2), then all files with that filename on
drive A will be listed.
You may use wild cards in filename specification.
See example 3.
5.
Files are listed with their size in bytes and with
the time and date of their creation or modification.
6.
The /P switch selects Page Mode.
V/ith /P, display
of the directory pauses after the screen is filled.
To
resume display of output, press any key.
7.
The /W switch selects Wide Display.
With /W, only
the filenames are displayed withour other file informa­
tion.
Files are displayed five per line.
4-28

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents