|
CD (CHDIR)
Change Directory - move to a specific Folder.
Syntax
CD [/D] [drive:][path]
CD [..]
Key
/D : change the current DRIVE in addition to changing
folder.
Used with only a drive letter (for example, chdir C:), chdir
displays the names of the current drive and folder. Used
without parameters, chdir displays the current drive and
directory.
Examples
When you use it with a drive name, CHDIR displays the
current directory for that drive. For example, if you type
CD C: at the C:\Temp directory prompt, the following appears:
C:\Temp
To change your current directory to a directory named
Documents, type one of the following commands:
CHDIR \documents
CD \documents
To change your current directory to a subdirectory
\Documents\Customers, type:
CD \documents\customers
Or, if your current directory is \Documents, type the
following command to change to the \Documents\Customers
subdirectory:
CD customers
To change from a subdirectory to its parent directory, type:
CD ..
Cmd Commands
|