
If you want to run a program or access a data file that is not stored in the current directory, you can either change directories (making a different directory the current directory) or include a pathname in your command.
Changing the Current DirectoryTo change from one directory to another, use the CHDIR command, or its shorthand equivalent, CD. For example, to change to the root directory of the current drive from anywhere in the directory tree, type the following and press Enter:
CHDIR \
If you are in the WORDPROC directory and you want to change to PERSONAL, a subdirectory of WORDPROC, type the following and press Enter:
CD PERSONAL
To change from PERSONAL back to WORDPROC, you can use the special symbol . . (two periods). The . . symbol always designates the parent directory, which is the directory one level above the current directory. You can type:
CD . .
Using |