Common command-line actions for Windows

Source: Internet
Author: User

WD View the current path (),

2. Enter the CD and press the TAB key, and the calculation will automatically infer the path we want to open.

3.Set View the environment variables of our computer configuration, as we've already said, we'll stop here.

After 4.cd input dir, you can view all the files under the current path,

After 5.CD, the computer will be delimited by the space to distinguish the number of parameters, if there is a space, the calculation will consider this is two parameters, such as CD DD CC, if you do not want to let the computer misunderstanding, need

So write the CD ' DD cc ', need to enclose the quotation marks

6.cd.. /is to return to the top level directory,./is the current directory

7.mkdir, the meaning of this command is to create a file, try to write

And look at another picture.

Now you can see this folder.

8. Both LS and dir can be used under window

9.del deleted alias is called RM, this is not tested successfully, I will try again later

10.echo such as echo "Hello" "1.txt, the text written in the 1.txt file, now you can see the interface automatically created a new text file

11. How to open 1.txt view the input file in the command, using the Cat command,

12. Everything is capable of output, such as Node-v (View node version)

At the command line input node-v >> 2.txt cat 2.txt, you can produce the version number of node,

13. About RM, delete, I just tried again, such as delete 1.txt, this operation is possible.

14. Enter exit to exit the command line

Common command-line actions for Windows

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.