Wednesday, July 16, 2008

Displaying an Existing Directory

We can view existing directories on a particular drive by using the DIR command.
Typing "DIR" into DOS will list all existing directories in the current drive.

For example, after typing e:\>dir into the DOS Interface, the directories contained in drive e:\ are displayed.

Note: Simply typing "dir" under the current drive will display the root directory of that drive, that is, the outermost layer of the drive. The difference between a root directory and a general directory will be addressed later.

No comments: