tldr/pages/windows/cd.md

21 lines
423 B
Markdown
Raw Normal View History

# cd
> Displays the name of or changes the current working directory.
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cd>.
- Go to a directory in the same drive:
`cd {{path/to/directory}}`
- Display the name of the current directory:
`cd`
- Go up to the parent of the current directory:
`cd ..`
- Go to a directory in a different drive:
`cd {{path/to/directory}} /d`