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

View File

@@ -1,13 +1,9 @@
# 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>.
- Go to a directory in the same drive:
`cd {{path/to/directory}}`
- Display the name of the current directory:
- Display the path of the current directory:
`cd`
@@ -15,6 +11,10 @@
`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}}`