1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 07:55:53 +02:00

cd: update page (#8350)

* Refresh cd.md

* Refresh command description

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
This commit is contained in:
Emily Grace Seville 2022-08-15 09:12:35 +10:00 committed by GitHub
parent bb28b5eccd
commit b31a2dc305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,9 @@
# cd # cd
> Displays the name of or changes the current working directory. > Display the current working directory or change the current working directory.
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cd>. > More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cd>.
- Go to a directory in the same drive: - Display the path of the current directory:
`cd {{path/to/directory}}`
- Display the name of the current directory:
`cd` `cd`
@ -15,6 +11,10 @@
`cd ..` `cd ..`
- Go to a directory in a different drive: - Go to a specific directory in the same drive:
`cd {{path/to/directory}} /d` `cd {{path\to\directory}}`
- Go to a specific directory in a different [d]rive:
`cd /d {{C}}:{{path\to\directory}}`