FreeDOS help system (hhstndrd 1.0.8 en)[cd]

Command: cd

CD displays the name of or changes the current directory.

Syntax:

CD [drive] [path] CD [..] [-] [\] [/?] drive The drive letter, e.g. C: path The directory, e.g. \example\

Options:

.. Specifies that you want to change to the parent directory. - If "last directory" feature is enabled, change to last directory. \ Changes to root. /? Shows the help.

Comments:

Type CD drive: to display the current directory in the specified drive. Type CD without parameters to display the current drive and directory. If no drive is specified, then the current drive is assumed. If no path is specified, the current directory is displayed. You can also use CHDIR instead of CD. CD is a command internal to command.com and needs no other file in order to work.

Examples:

cd c:\fdos changes to the directory c:\fdos cd .. changes back from c:\fdos to c:\ cd \ changes back from c:\anydirectory\anysubdirectory to c:\ if you are at c:\ : cd fdos changes to the directory c:\fdos cd bin changes to the directory c:\fdos\bin cd d:\example changes the directory on d: to d:\example, but does NOT change to drive d:

See also:

cdd chdir md mkdir rd rmdir ------------------------------------------------------------------------------ Copyright (C) 1998 Jim Hall, updated 2007 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.