Learning notes for DOS commands under Windows

Source: Internet
Author: User

Watching Java video today, incidentally learning a DOS command, this also helps me to understand the Ubuntu console commands very well.

1.dir (directory) View the directory under a disk or file (so files and folders)

2.CD (change directory) enters a file directory (for example: CD apple* into a folder with the name beginning with any character "* as a wildcard" after Apple)

CD: Go back to the top level directory

Cd\ back to the root directory (that is, under a disk)

(Note: To switch to a different disk under the current directory, write D: (e.g. switch to D-disk) directly after the current directory.)

3.MD (make directory) Create directory

MD ABC (Create a folder named ABC)

4.rd (remove directory) Delete directory

RD ABC (delete folder ABC)

Note: If there is a file content in the folder ABC, you must first delete the content in order to remove the ABC (this is the Windows system to prevent accidental deletion of files (from inside to outside))

5.del (delete) Delete file

Del * * (delete all files)

6.exit exit DOS command (can also be directly point to the window's Close button (x number))

7.help shows the meaning of various commands under DOS

Help CD (a command) shows the use of the command

Therefore, help is omnipotent, if you forget a command, you can use Help to find.

Learning notes for DOS commands under Windows

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.