home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
COMPUSCI
/
PWP40_1.ZIP
/
CHDIR.INS
< prev
next >
Wrap
Text File
|
1991-10-27
|
1KB
|
40 lines
CHDIR Used for moving from one directory on a hard
disk or diskette to another. The CHDIR (Change
Directory) command is often abbreviated to CD.
Format: CHDIR (or CD) [D:Path]
Example: CHDIR \ -or- CD \ -or- CD\
Changes the directory that you are currently working
in to the ROOT directory of the CURRENT drive. (Does
NOT change drive location.)
Example: CHDIR \123 -or- CD \123 -or- CD\123
Changes the directory that you are currently working
in to the \123 sub-directory on the CURRENT drive.
Example: CHDIR \123\DATA -or- CD\123\DATA
Changes the directory that you are currently working
in to the \123\DATA sub-directory.
Example: CHDIR .. -or- CD..
Changes the directory that you are currently working
in to its immediate PARENT directory. (e.g., If the
CURRENT directory is D:\123\DATA, this command will
move you to the D:\123 directory. If you issued the
command again it would move you to the D:\ (root)
directory, which is the PARENT of D:\123 directory.)
[*] DOS does not allow you to change BOTH the drive
and the directory using a single command. To change
drives simply enter the letter designator for the
drive you want to access followed by a ":". (e.g.,
C:, D:, E:, etc and press <ENTER>.) Then issue the
appropriate CHDIR command for the CURRENT drive.