Piping command-line output directly to the Clipboard with .NET - now THAT'S useful
I was talking to Jason Whittington the DM Smartie today and he told me an interesting anecdote about he and Mike Woodring. The result is this riduclously short C# application that lets you do this:
c:\>type filename | clipboard
Now THAT'S hot. As I am a command-line fellow and will gladly take the Pepsi Challenge against any of you "all windows move-em around" fools, I appreciate such useful things.
Now, go to Jason's site and see how he and Mike did it - then slap your forehead and go Doh!
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
cat x.txt | pbcopy
There's also a pbpaste that's less obviously useful.
Comments are closed.
Great find, BTW. How in the world has this not been included functionality in Windows? Doh indeed!