CHDIR (CD) + Changing the Current DirectoryMakes a new directory or subdirectory current.
VERSION
PC-DOS 2.0+
MS-DOS equivalent: CHDIR (CD) (2.0+)
TYPE
Internal
SYNTAX
CHDIR [d:][path]
OPTIONS
[d:] Specifies the drive letter of the disk
you wish to make current.
[path] Specifies the desired directory path
name to make current. The path name can
be no more than 63 characters, beginning
with the root directory designation (\).
EXAMPLES
ACHDIR C:\WP\LETTERS
changes to the subdirectory LETTERS on drive C. If no drive is
specified, the current drive is assumed.
CCD\
allows you to change to the root directory.
CD ..
makes the current directory the preceding level in the tree.
UNDO
To check your current directory, issue the CD command with
no arguments. The path name of your current directory will be
returned, as in the following example:
CCD
C:\WP\LETTERS
Then, issue the appropriate CD command to make a new directory
current.
NOTE
The CHDIR command is usually abbreviated to CD.
------------------------------------------------------------------
[For related topics, press R]
SEE ALSO
CHKDSK Command
MKDIR Command
PATH Command
RMDIR Command
TREE Command
file: /Techref/DOS/command/chdir.htm, 1KB, , updated: 1999/2/20 10:24, local time: 2024/12/25 06:16,
18.191.189.119:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/DOS/command/chdir.htm"> DOS command chdir</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.