The screen displays a list of files in the root directory, along with the names of any subdirectories of the root directory:

LEDGER

 

<DIR>

9-14-89 10:17a
WORDPROC

 

<DIR>

9-14-89

10:32a

COMMAND

COM

25307

3 - 17 - 88 12:00a

CONFIG

SYS

209

9-14-89

10:48a

AUTOEXEC

BAT

309

9-14-88

12:11p
3 File(s) 18625536 bytes freeThe list identifies the subdirectories by the letters <DIR>.

Changing Directories

You can use any directory as your current or working directory. To change to a different directory, type CHDIR (or CD ) followed by the pathname of the directory you want to use. For example, to change from any directory to the directory LEDGER (which is a subdirectory of the root directory), type the following and press Enter:

CD \LEDGER

The backslash identifies the LEDGER directory as a subdirectory of the root directory. Once you are working within a directory, you can access any of the files it contains without typing the full pathname.

To change to a subdirectory within the current directory, you do not need to type the backslash. For example, to change to the SALES subdirectory while you are working in LEDGER, type the following and press Enter:

CD SALES
3-12 Using MS-DOS With Your Computer