This command-line tool copies text from the STDIN stream to the Clipboard. You can then paste the data directly into any application that can receive text from the Clipboard.
Run any program that prints text to STDOUT and pipe the results through Clip. Clip reads from STDIN and copies the text to the Clipboard. Then, using the Paste command, copy the text to any application that can receive text from the Clipboard.
For syntax details, at the command prompt, type:
clip /? or clip -?
dir | clip
copies a folder listing onto the Clipboard. Next, run WordPad (or a similar text editor) and choose Edit, then Paste from the menu bar to paste the folder listing into WordPad.
clip < readme.txt
places a copy of the contents of Readme.txt onto the Clipboard.
awk -f gencode.awk input.txt | clip
places the output of the program Gencode.awk onto the Clipboard.
File Required