CMD common commands

Source: Internet
Author: User

Several ways to open cmd:

Search

1: Open My Computer, enter the address in the Address bar and press ENTER to open: C:\WINDOWS\system32\cmd.exe

2: Open My Computer, go to the C drive Windows\System32 find cmd.exe and then open

3: Open the Run dialog box with Windows key +r, enter cmd after the click OK, the Windows key is the bottom left corner of the CTRL key with the ALT key in the middle of the Windows icon key.

4: Click on the bottom left corner of the screen Windows icon Start menu-run input cmd after point OK

CMD is actually DOS system, Operation command and DOS command, so the operation command can search: dos operation command

The following are common commands:

Open cmd

Press the ENTER key after each command is lost

Enter the D-drive command to lose:

D:

Enter the e-drive output:

E:

CD This command goes to the folder, such as the command to enter the 123 folder on the D drive:

After you open cmd

D:

CD 123

And then lose.

Cd..

CD: The command returns to the previous level of the directory

Lose again

CD 123

cd\

Cd\ the command is to return the root directory of the disk, note that it is not cd/

Open cmd once to enter the other disk folder method

Enter the 456 folder under the D drive named 123 folder

After you open cmd

Input

CD/D e:\123\456

CD e:\123 This command is wrong and must be added/d

If the file is packed with spaces such as the C-drive document and setting folder preferably double quotation marks, sometimes do not add double quotation marks to try it, as follows:

CD/D c:/"Document and setting"

CMD common commands

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.