| Like what you see? Get it in one document for easy printing! |
Click Here!
|
|
|
The CD Command
CD stands for Change
Directory, which is precisely the purpose of this tool. It
is the CDI equivalent of double clicking a folder within Explorer
it moves the current directory context to the new location. The syntax
is simply cd directoryname. If the directory does not exist,
a warning stating, The system cannot find the directory specified
will be displayed. If the directory exists and the context change was
successful (i.e.: the directory change was not denied due to NTFS permissions),
the prompt will be updated to reflect the new directory context.
The one anomaly to be aware of occurs
when changing drives. If the current directory context is C:\,
and you wish to change this to E:\, typing cd e:\
will not produce the desired result. To accomplish this, you must type
the drive letter of the new location without the trailing \,
for example e: on its own. This will cause the context
to change to the root of the new drive, from which you can continue
to use the CD command as normal.
|