Another way to view a long directory listing is to use the
/W switch:
DIR /W
This displays the directory listing in a wide format, as follows:
Directory of C:\WORDPROC\PERSONAL
. .
LETTER.713 RESUME BOOKRPRT
5 File(s) 16013560 bytes free
As you can see, this type of listing does not show the size of the
file or the time and date it was last modified.
To list the contents of a different drive or a different directory,
include the appropriate drive designator and/or pathname in
the command. For example, to see what is in the root directory
of the diskette in drive A, type the following and press Enter:
DIR A:\
To display the contents of the WORDPROC\PERSONAL
directory (on drive C), type the following and press Enter:
DIR C:\WORDPROC\PERSONAL
Displaying a List of Directories
The TREE command lets you display a list of all the directories
on the specified drive. For example, to see the names of all the
directories on the default drive, type the following and press
Enter:
TREE