|
Syntax
CHDIR [drive:][path]
CHDIR[..]
CD [drive:][path]
CD[..]
Examples
cd\
Goes to the highest level, the
root of the drive.
cd..
Goes back one directory.
For
example, if you are within the C:\Windows\COMMAND> directory, this would take you to
C:\Windows>
Windows 95, 98, and later versions have a feature in the
CD command that allows you to go back more than one directory when using the dots. For
example, typing: cd... with three dots after the cd would take you back two
directories.
cd windows
If present, would take
you into the Windows directory. Windows can be substituted with any other name.
cd\windows
If present, would first
move back to the root of the drive and then go into the Windows
directory.
cd windows\system32
If present, would move
into the system32 directory located in the Windows directory. If at any time you need to
see what directories are available in the directory you're
currently in use the dir command.
cd
Typing cd alone will print the working
directory. For example, if you're in c:\windows> and you type
the cd it will print c:\windows.
For those users who are familiar with Unix / Linux this could be
thought of as doing the pwd (print
working directory) command.
|