When you need to process files in different paths, you often need to switch the directory in command line mode. In this case, you can use the directory jump command CD.
The full name of CD is change directory. the literal translation is to change the folder, that is, to jump to the directory and switch the path. It can be followed by the drive letter, complete path, and relative path.
When we open the command line window, the default directory is located in the path of the current user, for example: C:/Documents and Settings/lity>
In general, this directory does not have the files we want to process. We may need to jump to other directories.
The following describes common jumps:
1. Jump to the root directory of the current drive
CD [current drive letter]:/For example: cd c :/
Or a simpler CD/
2. Jump to another folder on the current drive
Take the Windows folder on drive C as an example and enter: cd c:/Windows
3. Jump to another drive
Take the jump from drive C to drive D as an example to directly enter: D:
4. Jump to another folder on another drive
Assume that the current disk is on drive C, and you need to jump to the Software Directory CD/d e:/software of drive E.
Note that the/d parameter must be added here. Otherwise, you cannot jump.
5. Jump to the previous directory