Windows command line copy trick

  

When using the "CMD" command prompt under Windows, sometimes it may be necessary to copy the output of the command after execution. Here is a brief introduction to how to copy at the command prompt.
First, press the "Start + R" role on the keyboard, enter "ldd; CMD" in the run window, click the "OK" button, as shown in the windows command line copy skills 2, here to enter a For example, the command to query the system network information “ipconfig” is used as an example. After the input is completed, press the “Enter” button. As shown in the figure, the Windows command line copying technique is as follows. Then you can see the output after the command is executed, such as Figure: Windows command line copying skills 4. If we want to copy part of the output, click the right mouse button in the CMD command prompt window, select the "mark" & rdquo; option, as shown in the windows command line copy Tip 5, then hold down the left mouse button and drag the mouse to mark the content you want to copy. After the mark is completed, please press the “Enter” button on the keyboard. As shown in the figure, the Windows command line copying technique is as follows. This will copy the contents of the command prompt to the desired place. Here is an example of pasting into a notebook, open Notepad, click the right mouse button and select Paste. As shown in the figure, the Windows command line copying technique is seven, and then you can see that the content copied in the command line has been pasted into the note. In this, as shown in the figure, the command line copying technique is as follows. In addition, when the command is executed at the command prompt, all the contents after the command execution are directly saved to the local file. For example, we enter the “ipconfig >d:\\text.txt” command, and then press the “Enter” button on the keyboard, as shown in the figure: After the command, a “>” symbol can be used to command The content is redirected. Here is the file name, which is the result of saving the command output to this file. Windows command line copy trick nine, then we open this file to see all the results after the command is executed, as shown in the windows command line copy skills

Copyright © Windows knowledge All Rights Reserved