O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

21.7. Clipboard Helpers

I do not remember anymore how many times I have wanted to have the output of a command placed in the Windows clipboard so that I could paste it in some other program. Until recently, that was downright impossible without using a third-party program that accepts piped text and sets that on the clipboard buffer. Windows Vista finally fixes that and ships with a nice utility called clip.exe. It does just what we need most of the time; it sets all the text it has been piped in as the clipboard contents. Unfortunately, we cannot say we have this problem solved. First, clip.exe does not handle anything but text, and the Windows clipboard can contain various file formats: rich text, HTML, images, files, and many more. Second, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required