Command: cdd
CDD displays the name of or changes the current directory and drive.
Syntax:
CDD [drive][path]
CDD [..][/?]
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.
/? Shows the help.
Comments:
If drive: is specified, the current working drive is changed; this
is the only difference with "CHDIR".
Type CDD without parameters to display the current drive and directory.
CDD is a command internal to command.com and needs no other file
in order to work.
Examples:
cdd c:\fdos changes to the directory c:\fdos
cdd .. changes back from c:\fdos to c:\
cdd \ changes back from c:\anydirectory\anysubdirectory
to c:\
if you are at c:\ :
cdd fdos changes to the directory c:\fdos
cdd bin changes to the directory c:\fdos\bin
cdd d:\example changes the directory on d: to d:\example, AND
changes the drive letter to drive d:
See also:
cd
chdir
md
mkdir
rd
rmdir
Copyright © 1998 Jim Hall, updated 2007 and 2020 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.