To change from any directory to its parent directory (the directory of which it is a subdirectory), type the following and press Enter:

CD . .The two periods represent the parent directory.

To return to the root directory from any subdirectory, type the following and press Enter:

CD \

Copying From One Directory to Another

The COPY command lets you copy files from one directory to another. To use this command, you must specify the name of the file you want to copy, as well as the directory to which you want to copy the file.

For example, if you are in the LETTERS directory and want to copy the file APRIL.TXT to the BUSINESS directory, type the following and press Enter:

COPY APRIL.TXT \WORDPROC\BUSINESS

The command has three parts: the word COPY, the name of the file you want to copy (APRIL.TXT), and the name of the directory to which you want to copy this file

( \ WORDPROC \BUSINESS). You must include spaces or commas between each of the three parts as delimiters.

Note

You can also copy files using MENU or the MS-DOS XCOPY command. See the section later in this chapter on using MENU, and see your MS-DOS Reference Manual for information about using XCOPY.

Using MS-DOS With Your Computer 3-13