Common command Management in Java Learning (Small records in Java learning)

Source: Internet
Author: User
Tags clear screen

Common Command Management Wang Coli (Star stars) in Java learningA. Common DOS commands in window

Where to operate DOS commands:

Win7---> Start----"All Programs---" accessories----"Command prompt

Win7--> Start---"Run----" Input cmd

1.1 Drive Symbol Switching:

Disk Fu Yi + colon format: drive letter:

Example: Want to drive from C to D

C:/user/xxxx D:

1.2 Working with folders

Dir: Displays all files and folders in the current folder.

CD path: Enter to the specified path.

Cd.. : Go back to the top level directory

CD \: Back to the current directory with the directory

MD folder name Create a folder

Rd Folder name Delete Folder action

1.3 Operation of the file

echo data (content) > file name Create a file and specify the data.

Type file name to view the contents of the specified file

Del file name deletes the specified file

* Wildcard Characters

Tab fill Content

CLS Clear Screen

Up and DOWN ARROW keys to retrieve the last written content

Exit close the console.

Common command Management in Java Learning (Small records in Java learning)

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.