Creating Directories
The MKDIR command lets you create directories. To create the
directory LEDGER under your root directory, for example, you
would 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, you
could type the following and press Enter:
MD \LEDGER\SALES
To check that the LEDGER directory is a subdirectory of the root
directory, type DIR \ and press Enter.
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-88 10:17a
WORDPROC
<DIR>
9-14-88 10:32a
COMMAND
COM
25307 3-17-87 12:00a
CONFIG
SYS
209
9-14-88 10:48a
AUTOEXEC BAT
309
9-14-88 12:11p
3 File(s) 18625536 bytes free
The subdirectories are identified by the letters
<
DIR
>. Thus,
when
you type DIR \ after creating the subdirectory LEDGER, you
should find the entry LEDGER <DIR>, as well as the names of all
the root directory files.
Changing Directories
To make a different directory the current directory, type CHDIR (or
CD) followed by the pathname of the directory that you want to be
current. This is called changing directories. 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
Using MS-DOS With Your Equity LT-286
5-11