From b31a2dc305e647dc2eb801d36a503127f1bf38b6 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Mon, 15 Aug 2022 09:12:35 +1000 Subject: [PATCH] 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> --- pages/windows/cd.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/windows/cd.md b/pages/windows/cd.md index fad86ae0b0..e2264d42d3 100644 --- a/pages/windows/cd.md +++ b/pages/windows/cd.md @@ -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: . -- 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}}`