Windows command line replication tips

Source: Internet
Author: User

First, press the "Start +r" key on the keyboard, enter "CMD" in the running window, click "OK" button, as shown in the picture

Second, here to enter a query system Network information command "Ipconfig" as an example, enter the completion of the press "return" key, as shown in the picture

Three, then you can see the command after the execution of the output results, as shown in the figure

If we want to copy a part of the output, click the right mouse button in the cmd Command Prompt window and select the "tag" option, as shown in the picture

Five, then hold down the left mouse button does not move, drag the mouse to mark the content you want to copy. When the mark is complete, press the "enter" key on your keyboard, as shown in the picture

In this way, the contents of the command prompt are copied down to the place where you want to paste it. Here to paste to the notebook as an example, open Notepad, click the right mouse button and choose to paste it, as shown in the picture

Seven, and then you can see that the content that was copied on the command line has been pasted into Notepad, as shown in the figure

Eight, you can also at the command prompt to execute the command, all the contents of the command immediately after the execution of the save to the local file. For example, we enter the "ipconfig >d:text.txt" command, and then press the "enter" key on the keyboard, as shown in the picture

Note: After the command, follow a ">" symbol to redirect the contents of the command, followed by the filename, which is to save the output of the command to this file.

Nine, then we open this file to see all the results after the command execution, as shown in the figure

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.