Disk Directories

MS-DOS keeps track of the files stored on your disks by maintaining a “directory” on each disk. These directories are listings of the filenames and extensions, along with certain information about the files themselves, such as when the file was created or updated last.

The DIR Command

MS-DOS provides a simple command that allows you to look at the directory of any particular disk. This is the DIR command. Enter the command as follows:

The computer will display a listing similar to the following:

Some of the names and symbols may be different, but the screen should show these five columns, and a similar last line.

4-24 Using MS-DOS With Your Computer