cd
Display the current working directory or move to a different directory. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/cd.
-
Display the path of the current directory:
cd
-
Go to root of current drive:
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.