You can use clip with a PIPE (|) operator in your command line commands. Here are some examples:
dir /h | clip – Copy the help manual for DIR command to the clipboard
tracert powercram.com | clip – Trace the path from your computer to another website – the output is automatically copied to the clipboard and not displayed on the screen.
netstat | clip - Check if your computer is connecting to websites without your knowledge.The clip.exe utility can also be used to copy contents of text files to clipboard directly from the command line.
clip < C:\MyFile.txt – will copy all the text from MyFile.txt to your Windows Clipboard.Copy clip.exe help to clipboard with clip /? | clip:
Redirects output of command line tools to the Windows clipboard.
This text output can then be pasted into other programs.
/? Displays this help message.
DIR | CLIP Places a copy of the current directory
listing into the Windows clipboard.
CLIP < README.TXT Places a copy of the text from readme.txt on to the Windows clipboard.