Re: dos command change directory cd .
- From: keepout@xxxxxxxxxxxxxxxxx
- Date: Mon, 28 Sep 2009 14:02:30 -0400
On Mon, 28 Sep 2009 09:33:51 -0400, Tim Slattery <Slattery_T@xxxxxxx> wrote:
viensdansmavie <viensdansmavie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:cd , cd ., cd, do nothing on windows [vista]
what is this command cd .
it is not give a error message and it doesn't anything.
what is this cd and one point cd .
"cd" is "change directory". "." means the current directory, and ".."
means the parent directory. So "cd ." means "change to the current
directory". Since you're already there, that means you've told the
machine to do nothing and that's what it's doing.
cd.., cd .. steps backwards up the path tree by one directory.
cd\ all the way to the root.
Displays the name of or changes the current directory.
CHDIR [/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]
.. Specifies that you want to change to the parent directory.
Type CD drive: to display the current directory in the specified drive.
Type CD without parameters to display the current drive and directory.
Use the /D switch to change current drive in addition to changing current
directory for a drive.
If Command Extensions are enabled CHDIR changes as follows:
The current directory string is converted to use the same case as
the on disk names. So CD C:\TEMP would actually set the current
directory to C:\Temp if that is the case on disk.
CHDIR command does not treat spaces as delimiters, so it is possible to
CD into a subdirectory name that contains a space without surrounding
the name with quotes. For example:
cd \winnt\profiles\username\programs\start menu
is the same as:
cd "\winnt\profiles\username\programs\start menu"
which is what you would have to type if extensions were disabled.
.
- References:
- dos command change directory cd .
- From: viensdansmavie
- Re: dos command change directory cd .
- From: Tim Slattery
- dos command change directory cd .
- Prev by Date: Re: Vista Media Player
- Next by Date: Re: ZIP folders/files in WinExplorer - how to change view
- Previous by thread: Re: dos command change directory cd .
- Next by thread: Where is Media Player in Vista?
- Index(es):
Relevant Pages
|