How to copy command output to clipboard in windows

The command prompt is still an indispensable part of windows OS.There are few things which can be done only through the command prompt. Also for some people like me command prompt is a faster way to accomplish things.

Few commands like ping, DIR etc are very commonly used in the command prompt.

If you add the pipe* operator (|) to your command followed by the “clip” command, the output of your original command will get saved to the Windows clipboard and won’t print inside the Command Prompt window.

eg: ipconfig /all | clip

Now open notepad and paste it. Refer the video below for details.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.