ParameterDescription / d Change the drive as well as the current directory for a drive. : Specify the drive to display or change (if different from the current drive). Specify the path to the folder you want to display or change. [.] Specifies that you want to change the root directory. /? Show help at the command prompt.
Note
If the command extension is enabled, the following conditions will apply to the cd command:
The current directory string is converted to use the same case with the name on the drive. For example: cd C: TEMP will put the current directory into C: Temp if that happens on the drive.
Spaces are not considered delimiters, so the path may contain spaces without quotes. For example:
cd usernameprogramsstart menu
Like:
cd "usernameprogramsstart menu"
However, quotes are required, if the extension is disabled.
To turn off the extension, enter:
cmd / e: off
For example
The root directory is the top part of the directory hierarchy for a drive. To return to the root directory, type:
CD
To change the default folder on the drive (the folder is different from the folder you are accessing), enter: