Copy command prompt output directly to Windows Clipboard
If you use the command prompt quite often and have to copy and paste output from command’s, this tips will make your life much easier.
Trick is using “|” (pipe without quote), windows vista, Windows 7, Windows server 2003 & windows server 2008 you can direct the output from a command from command prompt directly to the windows clipboard.
For example, here I run the ipconfig command and direct its output to the windows clipboard.
|C:\users\Balaji>ipconfig |clip
This will copy the output to the clipboard. Simply CTRL + V to paste to any application like notepad,
To confirm, its work I pasted here for your reference.
Windows IP Configuration
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : ************
IPv4 Address. . . . . . . . . . . : *****
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : WAG160N
Link-local IPv6 Address . . . . . : *********
IPv4 Address. . . . . . . . . . . :
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :Tunnel adapter isatap.WAG160N:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :Tunnel adapter isatap.
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
If you like the post, please feel free to post your comments.
0 comments :