ghacks Technology News

Copy Command Line Outputs Directly To The Clipboard

If you regularly save command line output into text files to process it further you might like a solution that copies the output directly to the clipboard to be able to process it faster. One of the best places to find tiny but useful applications is the Donation Coder forum and ClipCopy, the tool to copy command line output directly to the clipboard, was discovered there as well.

ClipCopy is a portable software for the command line that can easily be used to copy output directly to the Windows clipboard. The easiest way to use the software is by appending it to the command issued. To copy the output with Clipcopy one would simply use the command dir | clipcopy

The output size is not limited which means that it can copy large amounts of data to the Windows clipboard easily. The command will not echo the dir command in the command line. Clipcopy provides an option to do both. This is done by appending the -e parameter to the command. The full command would be dir | clipcopy -e for that.

It is also possible to output clipboard contents to the command line with clipcopy -g which can also be combined with the command to output the clipboard to a file with clipcopy -g > file.txt.

Lastly there is the option to output text to the clipboard with clipcopy text.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Copy CMD Output Directly To The Clipboard
Nirsoft Command Line Tool
Firefox AutoCopy, Copy Text Automatically To The Clipboard
Linux Process Management: Command Line
Linux Command Line Fu



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Tuesday December 2, 2008 -
Tags:, , , , , ,


Responses so far:

  1. SQrL says:

    I think “clip.exe” was around 1st:
    http://www.labnol.org/software/tutorials/copy-dos-command-line-output-clipboard-clip-exe/2506/

    but they both do the same thing, cept the clip.exe requires less typing (if you truly are going for speed):

    dir | clip
    -vs-
    dir | clipcopy

    …that being said, clipcopy does have the ability to paste from clipboard to dos, but i still find a simple right click (once your dos window is in quickedit mode) to be much much faster…

    thanks for the post anyway.
    keep em’ coming

  2. Matt says:

    Interesting! I was just copying some command line output to an email a few minutes ago. This would have saved me a few clicks… and will save me some future clicks! Thanks!

  3. You seem to have some kind of fetish for Donation Coder, don’t you?
    Every now and then you come up with another “Donation Coder” software, which isn’t hafl as good.

  4. Roshan says:

    Maybe you will like this. Its for the cmd shell.

    http://www.thinkingms.com/pensieve/2009/03/14/ClipexeACommandLineToolForTheWindowsClipboard.aspx

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us