Command Prompt for Windows

Command CHDIR or CD


Displays the name of or changes the current directory.


CHDIR [/D] [drive:][path]
CD [/D] [drive:][path]
/DChange drive as well as the directory.


To easily move between nested sub-directories see the command GO.

Type CD drive: to display the current directory for the specified drive.

Type CD without any parameters to display the current directory.

Also see command GO, CDD and Automatic Directory Changing.