Creating Directories

The MKDIR command lets you create directories. To create a LEDGER directory under your root directory, for example, type the following and press Enter:

MKDIR\LEDGER

You can abbreviate the name of this command to MD. For example, to create a SALES directory under the LEDGER directory, type the following and press Enter:

MD \ LEDGER\ SALES

Removing Directories

To delete a directory from a disk, use the RMDIR command (or its shorthand equivalent, RD). For example, to remove the directory ACCOUNTS, which is subordinate to the directory LEDGER, you could log onto the LEDGER directory, type the following, and press

Enter:

RD ACCOUNTS

A directory must be empty before it can be deleted. If it contains any files or subdirectories, attempting to delete it will produce an error message.

Changing the Default Directory

To change from one directory to another, use the CHDIR command, or its shorthand equivalent, CD. For example, to change to the root directory from anywhere in the directory tree, type the following and

press Enter:

CD \

If you are in the LEDGER directory and you want to change to ACCOUNTS, a subdirectory of LEDGER, type the following and

press Enter:

CD ACCOUNTS

5-16 Using MS-DOS with Your Equity 386