Saturday, December 16, 2006

CLIP - Pipe output to the Clipboard (Win2k3, Vista)

Scott Forsyth's WebLog - Clip - Saving command line and powershell output directly to the clipboard

"Every once in a while I run across something so simple, yet so powerful, that I wonder why I've never heard of it before.  Today I came across one of those situations.

Within Windows Server 2003 and Vista, there is a command line and PowerShell parameter called "Clip".  This allows you to output the command line results directly to the clipboard.  This is great if you need to output a large result, or even if you want to save the hassle of selecting text and copying to the clipboard when you could have done it in a single step.

It's very simple, just pipe (|) to the CLIP command.

..."

Nice.

Much easier than selecting/marking text in the command prompt window or redirecting to a text file (to then open, copy, delete text file, etc) ...

No comments: