2009-11-10

剪贴

Today I learned a way of writing stdin into Windows clipboard from command line. This functionality is provided by a little utility called `clip', which became available on Windows Vista and Windows 7.

Try `echo hello world | clip` or `clip < some_file.txt` for some fun.

No comments:

Post a Comment