CHDIR CHDIR
Name
chdir, cd - changes to a different directory; displays the
working directory
Syntax
chdir [path]
Description
If your working directory is \user\emily and you want to
change to another directory (such as \user\pete), enter the
following command:
chdir \user\pete
MS-DOS puts you in the new directory. There is also a
shorthand notation for the chdir command:
cd ..
This command always puts you in the parent directory of your
working directory.
Examples
If you use chdir without a path, you can display the name of
your working directory. For example, if your working direc-
tory is \user\pete on drive B, and you enter chdir, MS-DOS
displays the following:
b:\user\pete
The following command displays the name of the working
directory on drive B:
chdir b:
Notes
cd/chdir is an internal command.
CHDIR (printed 8/16/89) CHDIR