Files
tldr/pages/windows/cd.md
K.B.Dharun Krishna 937c216b28 cd: update page (#9363)
2022-10-27 15:36:45 +08:00

25 lines
499 B
Markdown

# 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}}`