tldr/pages/windows/cd.md

458 B

cd

Display the current working directory or move to a different directory. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/cd.

  • Display the path of the current directory:

cd

  • Go up to the parent of the current directory:

cd ..

  • Go to a specific directory in the same drive:

cd {{path\to\directory}}

  • Go to a specific directory in a different [d]rive:

cd /d {{C}}:{{path\to\directory}}