The CD command under Windows commands

Source: Internet
Author: User

When you need to process files under different paths, you often switch directories in command-line mode, which allows you to use the directory Jump command CD.

The full name of the CD is change directory, which means changing folders, that is, jumping directories, switching paths. It can be followed by a drive symbol, a full path, and a relative path.

In general, when we open the Command Line window, the default directory is located under the current user's path, such as: C:\Documents and settings\lity>

In general, there are no files in this directory that we want to work with, and we probably need to jump to other directories.

The following are descriptions of commonly used 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 a different folder on the current drive

Take the WINDOWS folder under the C drive as an example input: CD C:\WINDOWS

3. Jump to another drive

To jump from C to drive D for example, enter directly in any directory: D:

4. Jump to another folder on another drive

Assume that you are currently in C drive, to jump to E's software directory cd/d e:\software

Note the/d parameter must be added here. Otherwise, you cannot jump.

5. Jump to a previous level directory

Cd..


The CD command under Windows commands

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.