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/11/21 15:22,
3.144.43.194: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://ecomorder.com/techref/dos/command/chdir.htm"> dos command chdir</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.