Http://blog.sina.com.cn/s/blog_5e971b850100rtta.html
First understand what the drive is, and what is the disk character.
A drive is a storage area formatted with a system with a drive letter that enables hard disks, floppy disks, CDs, and USB drives.
Drive letter is hard disk, floppy disk, CD-ROM, USB stick on the computer to display the disc symbol, such as in My computer has c:d: Wait for the letter, this according to your computer partition situation command.
CDs can also be written as chdir (change directory, changing directories) to display the current directory name and change the current directory name
If there is a Joan file under the E disk, the Joansky file is also available under the Joan file. When CMD is turned on, the default current drive directory is the system current user home directory, my directory is C:\Documents and settings\joan>
The default current directory for each drive is the root directory, and once the directory of the drive changes, the changed directory will default to the current directory of the drive. Drive directory changes only work for this CMD operation, after turning off cmd, the drive default current directory is still the root directory.
CD [drive:] [path] changes the current directory of the Drives
CD E:\joan\joansky This makes the current directory of the E-disk Joan\joansky, but the current drive is still the C disk.
[Drive:] Change current driver
E: At this time the current drive disk is the E disk, the current directory depends on the default directory of the drive.
such as CD e:\joan\joansky[carriage return] e: These two commands make the current directory e:\joan\joansky>
CD [/d] [drive:] [path] changes the current driver
CD/D E:\joan\joansky at this time the current drive is the e disk, and the current directory of e disk is Joan\joansky
The function of this command is equivalent to CD E:\joan\joansky [carriage return] e:
CD [\] back to the root directory of the current drive
CD \ Current directory is c:\>
CD [..] Return to previous level command
CD: At this time the current directory is C:\Documents and Settings>, and this has already \documents and Settings\ default to the current directory of C drive
The current drive is its root directory, and you can use a relative path when you want to enter the directory of its drive
If the current directory is E:\>, then you can enter the CD \joan\joansky directly into the e:\joan\joansky>
PS: The current drive is not under its root directory, such a command is wrong. At this point you need to use the absolute path i.e. CD E:\joan\joansky
CD commands under Windows