Thursday, October 20, 2011

Pipe Windows command line output to clipboard

Well, just when you think you know it all, you learn something new. Since this is a neat little trick, I figured I'd post it. Did you know you can pipe console output to the clipboard in Vista+? e.g:

dir | clip

In this example, the directory output is in the clipboard, but of course any piping to 'clip' will work.

No comments:

Post a Comment